Learn R Programming

metacoder (version 0.3.7)

reverse: Reverse sequences

Description

Find the reverse of one or more sequences stored as a character vector. This is a wrapper for rev for character vectors instead of lists of character vectors with one value per letter.

Usage

reverse(seqs)

Arguments

seqs

A character vector with one element per sequence.

See Also

Other sequence transformations: complement(), rev_comp()

Examples

Run this code

reverse(c("aagtgGGTGaa", "AAGTGGT"))

Run the code above in your browser using DataLab