Description Usage Arguments Value
Counts the total number of bases, per cigar, that fall into D, I, M, S categories. countCigar() makes no distinction between, for instance 1S2M2S, 2S2M1S, or 3S2M
Shortcut function in create_granges
1 2 3 | countCigar(cigar)
bamflag(reads)
|
cigar |
character vector of cigar strings |
reads |
data.table holding the reads |
a 4-column, length(cigar)-row matrix with the total counts for each type
matrix of bits from BAM flags
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.