saveBismark: Save Bismark

Description Usage Arguments Value Author(s) Examples

View source: R/loadData.R

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

1
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

Author(s)

Nicolae Radu Zabet

Examples

1
2
3
4
5
# load methylation data object
data(methylationDataList)

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

nrzabet/DMRcaller documentation built on May 23, 2019, 2:50 p.m.