| readBismarkPool {DMRcaller} | R Documentation |
This function takes as input a vector of CX report file produced by Bismark
and returns a GRanges object with four metadata columns
(see methylationDataList). The file represents the pooled
bisulfite sequencing data.
readBismarkPool(files)
files |
The filenames (including path) of the methylation (CX report generated with Bismark) to be read |
the methylation data stored as a GRanges
object with four metadata columns (see methylationDataList).
Nicolae Radu Zabet and Jonathan Michael Foonlan Tsang
# load methylation data object
data(methylationDataList)
# save the two datasets
saveBismark(methylationDataList[["WT"]],
"chr3test_a_thaliana_wt.CX_report")
saveBismark(methylationDataList[["met1-3"]],
"chr3test_a_thaliana_met13.CX_report")
# reload the two datasets and pool them
filenames <- c("chr3test_a_thaliana_wt.CX_report",
"chr3test_a_thaliana_met13.CX_report")
methylationDataPool <- readBismarkPool(filenames)