Description Usage Arguments Details Value References Examples
WSS (Madsen and Browning, 2009) is a statistical test, developed for disease traits, in order to test for the hypothesis of rare variants disease association. WSS test introduces the method of assigning "weights" to rare variants found in a genetic region before they are collapsed.
1 |
table |
a numeric matrix with first column having disease status '0' or '1' and the rest columns codes the locus genotype as '0', '1', and '2'. |
perm |
positive integer that defines the number of permutations. In permutation test, the distribution of the test statistic under the null hypothesis is obtained by calculating all possible values of the test statistic under rearrangements of the labels on the observed data points. |
....
A list with the following elements:
wss.stat |
WSS statistic |
asym.pval |
asymptotic p-value |
perm.pval |
permuted p-value; only when |
args |
descriptive information with number of controls, cases,variants, and permutations |
name |
name of the statistic |
Bo Eskerod Madsen and Sharon R. Browning (2009) A Groupwise Association Test for Rare Mutations Using a Weighted Sum Statistic. PLoS Genetics doi:10.1371/journal.pgen.1000384. http://dx.plos.org/10.1371/journal.pgen.1000384
1 2 3 4 5 6 7 8 | # Load the package
library(vartools)
?wss
casectrl.dat <- read.table(system.file("extdata","phengen.dat",package="vartools"), skip = 1)
wss.stat <- wss(casectrl.dat)
wss.stat
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.