joinSegmentNeighbours {methylKit} | R Documentation

## Join directly neighbouring segments produced by methSeg

### Description

Segmentation and clustering are two distinct steps in methSeg(), leading to adjacent segments of the same class. This leads to a bias segment length distributions, which is removed by joining those neighbours.

### Usage

    joinSegmentNeighbours(res)

### Arguments

`res` | A `GRanges` object with segment classification and information prudoced by `methSeg`

### Value

A `GRanges` object with segment classification and information.

### See Also

`methSeg`

[Package methylKit version 1.6.3 Index]