Description Usage Arguments Value Examples
Pure R function to turn a character vector of nucleotides into a reverse complement vector. When running on many strings, this is much faster than Biostrings::reverseComplement(DNAString).
1 | fastComplement(naString)
|
naString |
a character vector of nucleotides; IUPAC ambiguous nucleotides are supported |
the reverse complement of naString
1 2 | fastComplement(c("GAT", "TACA")) # "CTA" "ATGT"
fastComplement("MAW") # "KTW"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.