wuweights: Wu weight function

Description Usage Arguments Value Author(s) References Examples

View source: R/rareGE.R

Description

Calculate beta density weights with parameters 1 and 25 as proposed by Wu et al. (2011)

Usage

1
wuweights(maf)

Arguments

maf

a numeric vector of minor allele frequencies. Values must be between 0 and 1.

Value

A numeric vector of weights, with the same length as maf.

Author(s)

Han Chen

References

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. Am J Hum Genet 89, 82-93.

Examples

1
2
maf <- seq(0, 1, by=0.1)
wuweights(maf)

rareGE documentation built on May 2, 2019, 5:41 a.m.