Description Usage Arguments Details Value References Examples
Implementation of the replication base test (RBT) proposed by Ionita-Laza et al., 2011. Replication means that it computes evidences to reject each of the two hypothesis: (1) Deleterious rare variants are enriched in cases; (2) Protective rare variants are enriched in controls.
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, |
....
A list with the following elements:
rbt.stat |
RBT statistic |
perm.pval |
permuted p-value |
args |
descriptive information with number of controls, cases,variants, and permutations |
name |
name of the statistic |
Ionita-Laza I, Buxbaum JD, Laird NM, Lange C (2011) A New Testing Strategy to Identify Rare Variants with Either risk or Protective Effects on Disease. PLoS Genetics, 7(2): e1001289
1 2 3 4 5 6 7 8 | # Load the package
library(vartools)
?rbt
casectrl.dat <- read.table(system.file("extdata","phengen.dat",package="vartools"), skip = 1)
rbt.stat <- rbt(casectrl.dat)
rbt.stat
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.