metacoder (version 0.3.4)

rev_comp: Revere complement sequences

Description

Make the reverse complement of one or more sequences stored as a character vector. This is a wrapper for comp for character vectors instead of lists of character vectors with one value per letter. IUPAC ambiguity codes are handled and the upper/lower case is preserved.

Usage

rev_comp(seqs)

Arguments

seqs

A character vector with one element per sequence.

See Also

Other sequence transformations: complement(), reverse()

Examples

# NOT RUN {
rev_comp(c("aagtgGGTGaa", "AAGTGGT"))

# }