rev_comp
generates the reverse complement of input DNA sequences.
This is commonly used for analyzing complementary strands or anticodon sequences.
Examples
# Reverse complement of codons
rev_comp(Biostrings::DNAStringSet(c('TAA', 'TAG')))
#> DNAStringSet object of length 2:
#> width seq
#> [1] 3 TTA
#> [2] 3 CTA