agep: Age Prediction from methylomic expression data

Description Usage Arguments Value Author(s) References Examples

View source: R/horv.R

Description

Predict age of samples using Horvaths Coefficients

Usage

1
agep(betas, coeff=NULL, method=c('horvath','hannum') ,...)

Arguments

betas

Matrix of betas or MethyLumiSet or MethylSet object.

coeff

If NULL, will default to Horvaths coefficients. Otherwise can be supplied with vector of own coefficients with an intercept as first element.

method

currently either "horvath" or "hannum". If using "hannum" remember to call data(hannumCoef) before analysis and supply coeff with the hannum coefficients, otherwise will default to "horvath".

...

To pass to arguments to downstream functions to specify adult.age

Value

Returns matrix of predicted ages per sample.

Author(s)

Original Functions: Steve Horvath

wateRmelon Implementation: Leo Schalkwyk, Louis El Khoury

References

Horvath S: DNA methylation age of human tissues and cell types. Genome Biology 2013, 14:R115

Examples

1
2
3
4
5
data(melon)
data(coef)
agep(melon,coeff=coef)
# or
agep(betas(melon),coeff=coef)

wateRmelon documentation built on Nov. 8, 2020, 7:47 p.m.