bam_to | R Documentation |
Convert a BAM file to any format supported by rtracklayer::export
.
bam_to(
bam_files,
formats = c("bedGraph", "bigWig"),
width = 150,
outdir = NULL,
verbose = TRUE,
...
)
bam_files |
One or more BAM files. |
formats |
A character vector of one or more formats for export file to. |
width |
If Can also be a list-like object parallel to |
outdir |
Directory to save results to. |
verbose |
Print messages. |
... |
Arguments passed on to
|
Converted file paths.
bam_files <- c(f1=system.file("extdata","querybins.bam",package="Rsamtools"),
f2=system.file("extdata","revbins.bam",package="Rsamtools"))
converted_files <- bam_to(bam_files = bam_files)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.