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.