Export differentially methylated region (DMR) results to a set of BED files, with one file generated per contrast.
writeDMRsToBed(dataTable, folder, FDRthres = 0.05)data.frame
DMR results, typically returned by calculateDMRs(). If a GRanges, it will
be coerced to a data frame internally.
character(1)
Directory in which to write BED files. Must exist and be writable.
numeric(1)
False discovery rate threshold used to filter DMRs before writing.
Default: 0.05.
(Invisibly) returns the input object:
writeDMRsToBed(): returns dataTable (invisibly), enabling use in a
pipeline.
Other DMR-helpers:
pivotDMRsLonger(),
summariseDMRsByContrast(),
summariseDMRsByGene(),
writeDMRsToExcel()