fastComplement: Pure R function to turn a character vector of nucleotides...

Description Usage Arguments Value Examples

Description

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).

Usage

1
fastComplement(naString)

Arguments

naString

a character vector of nucleotides; IUPAC ambiguous nucleotides are supported

Value

the reverse complement of naString

Examples

1
2
fastComplement(c("GAT", "TACA")) # "CTA"  "ATGT"
fastComplement("MAW") # "KTW"

chambm/customProDB documentation built on May 31, 2019, 12:08 p.m.