reverseComplement {microseq} | R Documentation |
The standard reverse-complement of nucleotide sequences.
reverseComplement(nuc.sequences, reverse = TRUE)
nuc.sequences |
Character vector containing the nucleotide sequences. |
reverse |
Logical indicating if complement should be reversed. |
This function uses the Biostrings::reverseComplement function.
A character vector of reverse-complemented sequences.
Lars Snipen and Kristian Hovde Liland.
ex.file <- file.path(file.path(path.package("microseq"),"extdata"),"small.fasta") fdta <- readFasta(ex.file) reverseComplement(fdta$Sequence)