agep {wateRmelon} | R Documentation |
Predict age of samples using Horvath's Coefficients
agep(betas, coeff=NULL, verbose=FALSE,...)
betas |
Matrix of betas or MethyLumiSet or MethylSet object. |
coeff |
If NULL, will default to Horvath's coefficients. Otherwise can be supplied with vector of own coefficients with an intercept as first element. |
verbose |
If TRUE, agep will additionally print out names of probes per sample that are missing from coefficient list within supplied beta matrix. |
... |
To pass to arguments to downstream functions to specify adult.age |
Returns matrix of predicted ages per sample.
Original Functions: Steve Horvath
wateRmelon Implementation: Leo Schalkwyk, Louis El Khoury
Horvath S: DNA methylation age of human tissues and cell types. Genome Biology 2013, 14:R115
data(melon) agep(melon,coeff=NULL) # or agep(betas(melon),coeff=NULL)