Plot DNAm age estimation vs chronological age.
Arguments
- x
DNAm age estimation
- y
Chronological age
- tit
Plot title. Default is "Horvath's method".
- clock
Type of clock 'chronological' or 'GA'. Default is 'chronological'.
- ...
Other plot parameters for ggplot
Examples
MethylationData <- read_csv(file.path(path, "MethylationDataExample55.csv"))
#> Error in read_csv(file.path(path, "MethylationDataExample55.csv")): could not find function "read_csv"
age.example55 <- DNAmAge(MethylationData)
#> Error in DNAmAge(MethylationData): object 'MethylationData' not found
plotDNAmAge(age.example55$Horvath, age)
#> Error in data.frame(x = x, y = y): object 'age.example55' not found