getWholeChromosomes {DMRcaller} | R Documentation

## Get whole chromosomes from methylation data

### Description

Returns a `GRanges` object spanning from the first cytocine until the last one on each chromosome

### Usage

    getWholeChromosomes(methylationData)

### Arguments

`methylationData` | the methylation data stored as a `GRanges` object with four metadata columns (see `methylationDataList`).

### Value

a `GRanges` object will all chromosomes.

### Author(s)

Nicolae Radu Zabet

### Examples

    # load the methylation data
    data(methylationDataList)

    # get all chromosomes
    chromosomes <- getWholeChromosomes(methylationDataList[["WT"]])

[Package DMRcaller version 1.16.0 Index]