get.sig.snps | R Documentation |
Identify which SNPs are deemed to be significantly associated with a phenotype,
according to a given test of association and p-value.
(Serves as the treeWAS association testing function;
runs the assoc.test
function internally.)
get.sig.snps(
corr.dat,
corr.sim,
snps.names,
test = "terminal",
p.value = 0.01,
p.value.correct = "bonf",
p.value.by = "count"
)
corr.dat |
A vector containing the association score values, for a given association test, for the real data. |
corr.sim |
A vector containing the association score values, for a given association test, for the simulated data. |
snps.names |
The column names of the original |
test |
A character string or vector containing one or more of the following available tests of association: "terminal", "simultaneous", "subsequent", "cor", "fisher". By default, the terminal test is run (note that within treeWAS, the first three tests are run in a loop by default). See details for more information on what these tests do and when they may be appropriate. |
p.value |
A single number specifying the p.value below which correlations are deemed to be 'significant'. |
p.value.correct |
Specify if/how to correct for multiple testing: either FALSE, or one of 'bonf' or 'fdr' (indicating, respectively, the Bonferroni and False Discovery Rate corrections). By default, 'bonf' is selected |
p.value.by |
Specify how to determine the location of the p.value threshold: either 'count' or 'density' (indicating, respectively, that the p.value threshold should be determined by exact count or with the use of a density function). |
Caitlin Collins caitiecollins@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.