clusterSitesToGR {BiSeq} | R Documentation

## A function to obtain a `GRanges` object of CpG clusters from `BSraw` and `BSrel` objects

### Description

This function allows to get the start and end positions of CpG clusters from a `BSraw` or `BSrel` object, when there is a `cluster.id` column in the `rowRanges` slot.

### Usage

    clusterSitesToGR(object)

### Arguments

`object` | A `BSraw` or `BSrel` object with a `cluster.id` column in the `rowRanges` slot. Usually the output of `clusterSites`.

### Value

An object of class `GRanges` is returned.

### Author(s)

Katja Hebestreit

### See Also

`clusterSites`

### Examples

    data(rrbs)
    rrbs.clustered <- clusterSites(rrbs)

    clusterSitesToGR(rrbs.clustered)

[Package BiSeq version 1.26.0 Index]