Description Usage Arguments Value Examples
This purely a convenience function, and an incredibly convenient one at that.
1 |
bam |
BAM (must be indexed!) file(s) or object(s) with a @bam slot |
chrM |
search pattern for mitochondrial contig ("(rCRS|chrM|MT)") |
... |
additional args to pass scanBamParam(), such as mapqFilter |
1 |
1 2 3 4 5 6 7 8 9 | library(MTseekerData)
BAMdir <- system.file("extdata", "BAMs", package="MTseekerData")
BAMs <- paste0(BAMdir, "/", list.files(BAMdir, pattern=".bam$"))
sbp <- scanMT(BAMs[1])
show(sbp)
sbps <- scanMT(BAMs, mapqFilter=20)
show(sbps)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.