skat: SKAT statistical test

Description Usage Arguments Details Value References Examples

View source: R/skat.R

Description

SKAT (Wu at al., 2010, 2011) is a statistical test, developed for disease traits, in order to test for the hypothesis of rare variants disease association. This is a score-based variance-component test.

Usage

1
skat(table, kernel="linear", weights=NULL, a=1, b=25, permutations=NULL)

Arguments

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'.

kernel

Kernel function used. By default, a linear function is used. Other available kernels are: "wlinear", "quadratic", "IBS", "wIBS", "twowayx"

weights

a set of numeric weights for genetic variants.

a

a positive numeric value for the parameter a in the Beta distribution (a=1 by default)

b

a positive numeric value for the parameter b in the Beta distribution (b=1 by default)

permutations

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.

Details

....

Value

A list with the following elements:

skat.stat

SKAT statistic

asym.pval

asymptotic p-value, distributed as Chi-square, with parameter degrees of freedom df=1

perm.pval

permuted p-value; only when permutations is used

args

descriptive information with number of controls, cases,variants, and permutations

name

name of the statistic

References

Wu MC, Kraft P, Epstein MP, Taylor DM, Chanock SJ, Hunter DJ, Lin X (2010) Powerful SNP-Set Analysis for Case-Control Genome-wide Association Studies. The American Journal of Human Genetics, 86: 929-942
Wu MC, Lee S, Cai T, Li Y, Boehnke M, Lin X (2011) Rare-Variant Association Testing for Sequencing Data with the Sequence Kernel Association Test. The American Journal of Human Genetics, 89: 82-93

Examples

1
2
3
4
5
6
7
8
# Load the package

library(vartools)
?skat

casectrl.dat <- read.table(system.file("extdata","phengen.dat",package="vartools"), skip = 1)    
skat.stat <- skat(casectrl.dat)
skat.stat

izhbannikov/vartools documentation built on May 18, 2019, 7:14 a.m.