View source: R/set.threshold.R
set.threshold | R Documentation |
Set the significance threshold
set.threshold(
data,
method = "M.eff",
level = 0.05,
n.permute = 1000,
n.core = 1
)
data |
Variable of class |
method |
One of the following: "M.eff","Bonferroni","FDR","permute" |
level |
Genome-wide false positive or false discovery rate (depending on |
n.permute |
Number of permutations for method "permute" |
n.core |
Number of cores to use for multicore processing |
The default method, "M.eff", is a Bonferroni-type correction but using an effective number of markers that accounts for LD between markers (Moskvina and Schmidt, 2008). The FDR method is based on version 1.30.0 of the qvalue package.
Variable of class GWASpoly.thresh
Moskvina V, Schmidt KM (2008) On multiple-testing correction in genome-wide association studies. Genetic Epidemiology 32:567-573. doi:10.1002/gepi.20331
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.