Description Usage Arguments Value Examples
This function makes plots to visualize the relationship between chronological age and RNA age.
1 2 3 4 5 6 | makeplot(
res,
main = "RNA age vs chronological age",
xlab = "chronological age",
ylab = "RNA Age"
)
|
res |
a data frame returned by 'predict_age' function. If the chronological age is not provided when using 'predict_age' function, visulization cannot be made. |
main |
title of the plot |
xlab |
label of x-axis |
ylab |
label of y-axis |
the plot which shows RNA age vs chronological age
1 2 3 4 5 6 7 8 | data(fpkmExample)
fpkm_large = cbind(fpkm, fpkm, fpkm, fpkm)
fpkm_large = cbind(fpkm_large, fpkm_large, fpkm_large, fpkm_large)
colnames(fpkm_large) = paste0("sample",1:32)
chronage = data.frame(sampleid = colnames(fpkm_large), age = 1:32)
res = predict_age(exprdata = fpkm_large, exprtype = "FPKM",
chronage = chronage)
makeplot(res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.