Learn R Programming

DMRcaller (version 1.4.2)

saveBismark: Save Bismark

Description

This function takes as input a GRanges object generated with readBismark and saves the output to a file using Bismark CX report format.

Usage

saveBismark(methylationData, filename)

Arguments

methylationData
the methylation data stored as a GRanges object with four metadata columns (see methylationDataList).
filename
the filename where the data will be saved.

Value

Invisibly returns NULL

Examples

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

# save one dataset to a file
saveBismark(methylationDataList[["WT"]], "chr3test_a_thaliana_wt.CX_report")

Run the code above in your browser using DataLab