View source: R/check_phe_file_ok_for_qt.R
check_phe_file_ok_for_qt | R Documentation |
Check if a phenotype files holds a table that is valid for use in a quantitative trait analysis. Will stop if not
check_phe_file_ok_for_qt(phe_filename)
phe_filename |
name of a phenotype ( |
For a phenotype table to be valid for use in a quantitative trait analysis,
in each column, at least 1 value must differ from 0, 1, and 2.
This is because PLINK
will assume a case-control analysis
when all values in a column are 0, 1 and 2.
Nothing. Will stop if the phenotype table in the file is invalid for use in a quantitative trait analysis
Richèl J.C. Bilderbeek
Use check_phe_table_ok_for_qt to check if an in-memory phenotype table is valid for use in a quantitative trait analysis
phe_filename <- get_plinkr_filename("demo_assoc_qt.phe")
check_phe_file_ok_for_qt(phe_filename)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.