.getSummaryBam {UMI4Cats} | R Documentation |
Get summary of interesting bam statistics
.getSummaryBam(bam_file, mapped = TRUE, secondary = FALSE)
bam_file |
Path for the bam file. |
mapped |
Logical indicating whether to extract mapped reads. |
secondary |
Logical indicating whether to extract secondary aligned reads. |
Returns a numeric containing the number of reads in bam_file
that has the specified mapped
and secondary
status.