enrich_with_methylation: Normalize methylation to target regions

Description Usage Arguments Value Author(s) Examples

View source: R/correlated_regions_enrich.R

Description

Normalize methylation to target regions

Usage

1
enrich_with_methylation(target, sample_id, mode = rowMeans, extend = 5000, smooth = TRUE, ...)

Arguments

target

target regions

sample_id

a vector of sample IDs

mode

how to summarize methylation among samples, by default it is the cross-sample mean methylation. Since methylation is represented as matrix, here we use row*-family functions (e.g. rowMeans, rowMedians)

extend

pass to normalizeToMatrix

smooth

pass to normalizeToMatrix

...

pass to normalizeToMatrix

Value

A matrix which can be directly visualized by EnrichedHeatmap

Author(s)

Zuguang Gu <z.gu@dkfz.de>

Examples

1
2
# There is no example
NULL

jokergoo/epik documentation built on Sept. 28, 2019, 9:20 a.m.