Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

revc

Reverse complement every string in string.vec


Description

Based on reverseComplement. Handles IUPAC ambiguity codes but not "u" (uracil).
(see <https://en.wikipedia.org/wiki/Nucleic_acid_notation>).

Usage

revc(string.vec)

Arguments

string.vec

A character vector.

Value

A character vector with the reverse complement of every string in string.vec.

Examples

revc("aTgc") # GCAT

# A vector and strings with ambiguity codes
revc(c("ATGC", "aTGc", "wnTCb")) # GCAT GCAT VGANW

## Not run: 
revc("ACGU") # An error
## End(Not run)

ICAMS

In-Depth Characterization and Analysis of Mutational Signatures ('ICAMS')

v2.3.10
GPL-3 | file LICENSE
Authors
Steve Rozen, Nanhai Jiang, Arnoud Boot, Mo Liu, Yang Wu
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.