wu: A multi-locus score test directly generalized from Wu's...

Description Usage Arguments Details Author(s) References Examples

View source: R/wu.R

Description

This test is generalized from Wu's test. It is modified so that it allows missing genotypes (MCAR) as well.

Usage

1
wu(data, formula = NULL, subset = NULL, na.rm = FALSE)

Arguments

data

a data frame containing all variables specified in formula.

formula

an object of clas "Formula". The user can specify two outcomes on the left-hand side. The covariates and the variables of interest can be specified on the right-hand side. See 'Details' in page of function maps.

subset

an optional vector specifying a subset of observations to be used in the testing process.

na.rm

a logical indicating whether to allow individuals with missing values on variables of interest. The current version always set it as FALSE as using more samples can increase power. See 'Details' in page of maps.

Details

If only one SNP is included in data, wu is actually the test proposed in Wu et al. (2013).

Author(s)

Han Zhang <[email protected]>

References

Zhang, H., Wu, C.O., Yang, Y., Berndt, S., and Yu K. (2015) A multi-locus genetic association test for a dichotomous trait and its secondary phenotype. Submitted.

Wu, C.O., Zheng, G., and Kwak, M. (2013) A joint regression analysis for genetic association studies with outcome stratified samples. Biometrics 69, 417–426.

Examples

1
2
data(test)
obj <- wu(data, formula)

zhangh12/MAPS documentation built on May 28, 2017, 12:46 p.m.