Description Usage Arguments Details Value Author(s) Examples
Exports the methylation data of an RnBSet
object to *.bedGraph
files.
1 2 3 4 5 6 7 | rnb.RnBSet.to.bedGraph(
rnb.set,
out.dir = ".",
reg.type = "sites",
parameters = character(),
digits = NULL
)
|
rnb.set |
Dataset as an instance of class |
out.dir |
One-element |
reg.type |
Site or region type to be exported. |
parameters |
Named |
digits |
Optionally, number of significant digits after the decimal point to round methylation values to. If
specified, this parameter must be an |
The description of the BedGraph track format can be found here.
Each methylation site is an entry in the resulting bedGraph file. The Score column corresponds to a site's
methylation value in the interval [0,1]
.
(invisibly) a summary list containing information on the conversion step.
elements are filenames
(a table containing information on which sample has been written to what filename)
and assembly
(a string indicating the assembly used by rnb.set
).
Fabian Mueller
1 2 3 4 | library(RnBeads.hg19)
data(small.example.object)
logger.start(fname=NA)
rnb.RnBSet.to.bedGraph(rnb.set.example,tempdir())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.