Description Usage Arguments Value Examples
View source: R/write_bedgraphs.R
Writes bedGraphs from methrix object
1 2 3 4 5 6 7 8 9 10 11 12 |
m |
|
output_dir |
Output directory name where the files should be saved.
If |
rm_NA |
remove NAs |
force |
forces to create files if they are existing |
n_thr |
Default 4. |
compress |
Whether to compress the output. Default TRUE |
SeqStyle |
Default 'UCSC' with 'chr' prefix. |
multiBed |
Default NULL. If provided a filename, a single bedGraph file with all samples included is generated. |
metilene |
Default FALSE. If TRUE outputs bedgraphs in 'metilene' format that can be directly used for DMR calling with 'metilene'. This option works only when |
phenoCol |
Default NULL. 'condition' column from colData. Only applicable if |
writes bedgraph files to output
1 2 3 4 | data('methrix_data')
write_bedgraphs(m = methrix_data, output_dir = './temp')
#Export to metline format for DMR calling with metline
write_bedgraphs(m = methrix_data, output_dir = "./temp", rm_NA = FALSE, metilene = TRUE,multiBed = "metline_ip", phenoCol = "Condition")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.