predictAgePheno: Phenotypic 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 (Levine et al. 2018 Aging, 513 probes). 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
predictAgePheno(betas)

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