cr_reduce: Merge correlated regions

Description Usage Arguments Details Value Author(s) Examples

View source: R/correlated_regions.R

Description

Merge correlated regions

Usage

1
cr_reduce(cr, txdb, expr = NULL, gap = bp(1), mc.cores = 1)

Arguments

cr

correlated regions from correlated_regions. In most cases, it is correlated regions with significant correlations.

txdb

the transcriptome annotation which is same as the one used in correlated_regions

expr

the expression matrix which is same as the one used in correlated_regions. If it is set the correlation will be re-calculated for the merged regions.

gap

gap for the merging, pass to reduce2

mc.cores

cores for parallel computing. It is paralleled by gene.

Details

As there may be overlaps between two neighbouring correlated regions, it is possible to merge them into larger regions. The mering is gene-wise, and all statistics (e.g. mean methylation, correlation) will be re-calculated.

Value

A GRanges object

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.