MEDIPS.mergeFrames: Merges genomic coordinates of neighboring windows into one...

Description Usage Arguments Value Author(s) Examples

Description

After having filtered the result table returned by the MEDIPS.meth function using the MEDIPS.selectSig function, there might be neighboring significant frames. For these cases it is worthwhile to merge neighbouring regions into one supersized frame.

Usage

1
MEDIPS.mergeFrames(frames=NULL, distance=1)

Arguments

frames

is a filtered result table received by the MEDIPS.selectSig function.

distance

allows an according number of bases as a gap between neighboring significant windows to be merged. The default value is 1 in order to merge adjacent windows.

Value

The remaining distinct frames are represented only by their genomic coordinates within the returned results table

chromosome

the chromosome of the merged frame

start

the start position of the merged frame

stop

the stop position of the merged frame

ID

a numbered ID of the merged frame

The result table does not contain any merged significant values.

Author(s)

Lukas Chavez

Examples

1
2
3
4
regions=as.data.frame(list(chr=c("chr22", "chr22"), start=c(1001, 1501), stop=c(1500,1750)))
regions.merged=MEDIPS.mergeFrames(regions)

regions.merged

emmecola/MEDIPS documentation built on May 16, 2019, 5:10 a.m.