meffonym.score | R Documentation |
Calculate DNA methylation scores
meffonym.score(
x,
model,
calibrate = F,
scale = model %in% c("zhang", "zhang.blup"),
transform = NULL,
adjust = NULL
)
x |
A matrix of all score input variables, such as DNA methylation values
(rows=Input variables like CpG sites, columns=samples).
Missing values in |
model |
Model name from available list
( |
calibrate |
Prior to calculating scores, if TRUE then calibrate DNA methylation, otherwise use DNA methylation unmodified (Default: FALSE). If 'model=="dunedinpace"', then calibration involves quantile normalization to the DunedinPACE gold standard; otherwise, calibration involves applying the BMIQ algorithm to the Horvath gold standard as in Horvath's DNAm age calculator. |
scale |
Prior to calculating scores, standardize methylation levels,
i.e. subtract mean and divide by standard deviation for each CpG site.
Default is |
transform |
After calculating scores, transform scores
using this function. Default is |
adjust |
Data frame with variables for adjusting the final score (Default: |
List containing the list of score variables (e.g. CpG sites) actually used
(sites
) in case
some score variables included in the model are missing from x
,
the resulting score (score
) for each sample in the dataset.
If adjust
is not NULL
, then the score prior to adjustment
will also be included in the return list (raw
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.