Description Usage Arguments Value Examples
This purely a convenience function, and an incredibly convenient one at that. FIXME: this function is still useful, but it desperately needs refactoring.
1  | 
bam | 
 a BAM filename, or DataFrame/SummarizedExperiment with $BAM  | 
filter | 
 filter on bam$mtCovg? (default is FALSE, don't filter)  | 
plotMAPQ | 
 plot distribution of mitochondrial mapping quality? (FALSE)  | 
... | 
 additional args to pass scanBamParam(), such as mapqFilter  | 
1  |      an MAlignments or MAlignmentsList object
 | 
1 2 3 4  | library(MTseekerData)
BAMdir <- system.file("extdata", "BAMs", package="MTseekerData")
patientBAMs <- paste0(BAMdir, "/", list.files(BAMdir, pattern="^pt.*bam$"))
(mal <- getMT(patientBAMs[1]))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.