create_test_assoc_qt_data: Create testing data for the assoc_qt function

View source: R/create_test_assoc_qt_data.R

create_test_assoc_qt_dataR Documentation

Create testing data for the assoc_qt function

Description

Create data (as created by create_assoc_qt_data) to detect associations with quantitative traits (using assoc_qt) used for testing.

Usage

create_test_assoc_qt_data(
  data = create_test_plink_text_data(),
  phenotype_data = create_phenotype_data_table_from_data(data = data)
)

Arguments

data

the data source, which can be:

  • PLINK text data, as created by create_plink_text_data.

  • PLINK binary data, as created by create_plink_bin_data.

  • PLINK2 binary data, as created by create_plink2_bin_data.

  • PLINK text filenames, as created by create_plink_text_filenames.

  • PLINK binary filenames, as created by create_plink_bin_filenames.

  • PLINK2 binary filenames, as created by create_plink2_bin_filenames.

  • data to be used by assoc, as created by create_assoc_data

  • data to be used by assoc_qt, as created by create_assoc_qt_data

phenotype_data

phenotype data in the form of either a filename to a phenotype file (phenotype_data_filename) or a list with a phenotype table (phenotype_data_table)

Author(s)

Richèl J.C. Bilderbeek

Examples

create_test_assoc_qt_data()

richelbilderbeek/plinkr documentation built on March 25, 2024, 3:18 p.m.