predictAgeHorvath353: Horvath 353 age predictor

Description Usage Arguments Value Examples

View source: R/age.R

Description

The function takes a named numeric vector of beta values. The name attribute contains the probe ID (cg, ch or rs IDs). The function looks for overlapping probes and estimate age using Horvath aging model (Horvath 2013 Genome Biology). The function outputs a single numeric of age in years.

Usage

1

Arguments

betas

a probeID-named vector of beta values

Value

age in years

Examples

1
2
betas <- sesameDataGet('HM450.1.TCGA.PAAD')$betas
predictAgeHorvath353(betas)

sesame documentation built on Nov. 15, 2020, 2:08 a.m.