View source: R/create_assoc_qt_params.R
create_assoc_qt_params | R Documentation |
Create parameters to detect associations with quantitative traits (using assoc_qt). Use create_test_assoc_qt_params) to create a set of parameters that is used in testing.
create_assoc_qt_params(
maf = get_lowest_maf(),
confidence_interval = NA,
allow_no_sex = FALSE,
base_input_filename = file.path(get_plinkr_tempfilename(), "assoc_input"),
base_output_filename = file.path(get_plinkr_tempfilename(), "assoc_output")
)
maf |
minor allele frequency threshold.
Alleles that have a frequency lower than the MAF
are excluded from the The parameter name |
confidence_interval |
confidence interval, a value between (and excluding both) 0.0 and 1.0. The confidence interval helps assess the certainty of an estimation: you can be 99 percent sure a value is within the range of the 0.99 confidence interval The |
allow_no_sex |
set this to TRUE
to retain phenotype values for missing-sex samples.
This parameter is named after the |
base_input_filename |
the base of the filenames that are
used as input for |
base_output_filename |
the base of the filenames that are
used as output for |
the parameters to do a quantitative trait analysis
This function is named after the --assoc
PLINK
flag,
where --assoc
uses phenotypic values to determine if an association
is about a binary/case-control trait or a quantitative trait,
plinkr uses functions named assoc and assoc_qt.
Richèl J.C. Bilderbeek
use create_test_assoc_qt_params to create assoc_qt_params
used for testing
create_assoc_qt_params()
create_assoc_qt_params(maf = 0.01)
create_assoc_qt_params(confidence_interval = 0.99)
create_assoc_qt_params(allow_no_sex = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.