Description Usage Arguments Details Value Examples
View source: R/scMethrix_export.R
Exports all samples in an scMethrix
objects into individual bedgraph files
1 2 3 4 5 6 7 8 9 |
scm |
|
path |
string; the |
suffix |
string; optional suffix to add to the exported bed files |
include |
boolean; flag to include the values of non-standard assays in the bedgraph file |
na.rm |
boolean; flag to remove the NA values from the output data |
header |
boolean; flag to add the header onto each column |
verbose |
boolean; Flag for outputting function status messages. Default = TRUE |
The structure of the bedgraph files will be a tab-deliminated structure of: Chromosome | CpG start site | CpG end site | methylation score | coverage | Additional assays (if include = TRUE)
If additional assays are used, and headers enabled, it is up to the user to ensure that assay names are not protected in any downstream analysis of the bedgraph files
nothing
1 2 | data('scMethrix_data')
export_beds(scMethrix_data,path=paste0(tempdir(),"/export"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.