meanIntensity: Whole-dataset-wide Mean Intensity

View source: R/sesame.R

meanIntensityR Documentation

Whole-dataset-wide Mean Intensity

Description

The function takes one single SigDF and computes mean intensity of all the in-band measurements. This includes all Type-I in-band measurements and all Type-II probe measurements. Both methylated and unmethylated alleles are considered. This function outputs a single numeric for the mean.

Usage

meanIntensity(sdf, mask = TRUE)

Arguments

sdf

a SigDF

mask

whether to mask probes using mask column

Details

Note: mean in this case is more informative than median because methylation level is mostly bimodal.

Value

mean of all intensities

Examples

sesameDataCache() # if not done yet
sdf <- sesameDataGet('EPIC.1.SigDF')
meanIntensity(sdf)

zwdzwd/sesame documentation built on March 27, 2024, 5:09 a.m.