reverseComplement {Biostrings} | R Documentation |
Given an object of class "BioString", this function complements each base in the underlying string (replacing A with T or U, T or U with A, C with G and G with C) and reverses it. It also changes the substring indices so that they reflect the reversing.
reverseComplement(x)
x |
an object of class "BioString" |
An object of class "BioString" containg the reversed and complemented underlying string and substring indices.
Saikat DebRoy
reverseComplement(DNAString("ATCG-AA"))