Learn R Programming

DMRcaller (version 1.4.2)

poolTwoMethylationDatasets: Pool two methylation datasets

Description

This function pools together two methylation datasets.

Usage

poolTwoMethylationDatasets(methylationData1, methylationData2)

Arguments

methylationData1
a GRanges object with the methylation data (see methylationDataList).
methylationData2
a GRanges object with the methylation data (see methylationDataList).

Value

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

Examples

Run this code
# load methylation data object
data(methylationDataList)

# save the two datasets together
pooledMethylationData <- poolTwoMethylationDatasets(methylationDataList[[1]],
                         methylationDataList[[2]])

Run the code above in your browser using DataLab