Description Usage Arguments Details Value Author(s) Examples
Exports (selected) methylation tables of the given dataset to comma-separated value files.
1 2 3 4 5 | rnb.execute.export.csv(
rnb.set,
output.location,
region.types = rnb.getOption("export.types")
)
|
rnb.set |
Methylation dataset as an object of type inheriting |
output.location |
|
region.types |
|
The names of the generated output files are formed by the prefix "betas_"
, followed by a number between
1 and length(region.types)
. The extension is .csv
or .csv.gz
, depending on the value of the
RnBeads option "gz.large.files"
. Any such files that already exist in the output directory, are
overwritten.
There are several reasons why a certain output file cannot be (fully) generated. Examples for failures are listed below:
The corresponding region type is invalid.
The corresponding region type is not supported by the dataset. If the type is loaded in RnBeads,
use the summarize.regions
method prior to calling this function,
in order to include the support of this region type in the dataset.
Due to security restrictions, the creation of files in the output directory is not allowed.
A file or directory with the same name exists and cannot be overwritten.
The disk is full or the user quota is exceeded.
character
vector containing the names of the files to which data were exported; prepended by
output.location
. In case a certain region type could not be exported (see the Details section),
the corresponding element of this vector is NA
.
Yassen Assenov
1 2 3 | library(RnBeads.hg19)
data(small.example.object)
rnb.execute.export.csv(rnb.set.example, "", summarized.regions(rnb.set.example))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.