View source: R/create_test_assoc_qt_covar_data.R
create_test_assoc_qt_covar_data | R Documentation |
Create a dataset (as created by create_assoc_qt_params) to detect associations with quantitative traits (using assoc_qt) used for testing.
create_test_assoc_qt_covar_data(
data = create_test_plink_text_data(),
phenotype_data = plinkr::create_phenotype_data_table_from_data(data = data),
cov_table = plinkr::create_cov_table_from_data(data = data)
)
data |
the data source, which can be:
|
phenotype_data |
phenotype data in the form of either
a filename to a phenotype file ( |
cov_table |
a table of covariates. A
These names match the PLINK column names (https://www.cog-genomics.org/plink/1.9/input#pheno). Use read_plink_cov_file to read a covariates file. Use check_cov_table to test if a covariates table is valid. |
This function is named after the --assoc
PLINK flag.
Richèl J.C. Bilderbeek
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.