Learn R Programming

segmentSeq (version 2.6.0)

mergeMethSegs: Merges neighbouring methylation loci with the same pattern of expression.

Description

Within a region of cytosine methylation, there may be some cytosines which show no evidence of methylation. The presence of these cytosines may lead to the region being split into multiple methylation loci. This function merges neighbouring loci if the pattern of expression is the same in each locus, and if they are not separated by too great a genomic distance.

Usage

mergeMethSegs(segs, aD, gap, cl)

Arguments

segs
A methData object defining the loci to be merged.
aD
An alignmentMeth object from which the loci have been derived.
gap
The maximum gap below which neighbouring loci may be merged.
cl
A cluster object, or NULL.

Value

An object of type methData.

See Also

methData