saveBismark {DMRcaller} | R Documentation

## 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`

### Author(s)

Nicolae Radu Zabet

### Examples

    # load methylation data object
    data(methylationDataList)

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

[Package DMRcaller version 1.19.0 Index]