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 Dec. 21, 2024, 1:20 p.m.