Learn R Programming

BiSeq (version 1.12.0)

clusterSitesToGR: 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.

See Also

clusterSites

Examples

Run this code
data(rrbs)
rrbs.clustered <- clusterSites(rrbs)

clusterSitesToGR(rrbs.clustered)

Run the code above in your browser using DataLab