RnBSet
object to *.bedGraph
files.
rnb.RnBSet.to.bedGraph(rnb.set, out.dir = ".", reg.type = "sites", parameters = character(), digits = NULL)
RnBSet
.character
vector signifying the output directory in which to create
bedGraph
files. Setting this to "."
(default) uses the current working directory. If
the output directory does not exist, this function attempts to create it. Any existing files in
this directory could be overwritten.character
vector storing parameters (other than "type"
and "name"
) to
include in the track definition line. The names of this vector must be the parameter names, and its
elements - the corresponding values; missing values (NA
s) are allowed neither for names, nor
for values. This function does not test if all provided parameter names and values conform to the
BedGraph track specification.integer
between 0
and 10
.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
).
[0,1]
.
library(RnBeads.hg19)
data(small.example.object)
logger.start(fname=NA)
rnb.RnBSet.to.bedGraph(rnb.set.example,tempdir())
Run the code above in your browser using DataLab