reverseCigar | R Documentation |
This function reverses the cigar string, i.e., 20M15I10D will be reversed to 10D15I20M.
reverseCigar(cigar, ops=CIGAR_OPS)
cigar |
A character vector of cigar strings. |
ops |
A character vector of the extended CIGAR operations. By default, CIGAR_OPS is used. |
A character vector contains the reversed cigar strings.
Ge Tan
cigar-utils
cigar = c("20M15I10D", "10D15I20M") reverseCigar(cigar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.