calcEffectSize: Compute effect size for different variables from prediction...

View source: R/dm.R

calcEffectSizeR Documentation

Compute effect size for different variables from prediction matrix

Description

The effect size is defined by the maximum variation of a variable with all the other variables controled constant.

Usage

calcEffectSize(pred)

Arguments

pred

predictions

Value

a data.frame of effect sizes. Columns are different variables. Rows are different probes.

Examples

data <- sesameDataGet('HM450.76.TCGA.matched')
res <- DMLpredict(data$betas[1:10,], ~type, meta=data$sampleInfo)
head(calcEffectSize(res))

zwdzwd/sesame documentation built on Nov. 11, 2024, 9:33 a.m.