Learn R Programming

BaySIC (version 1.0)

revcomp: DNA Reverse Complementation

Description

Returns the reverse complement of a given DNA character string

Usage

revcomp(dna.seq)

Arguments

dna.seq
character string; genetic sequence composed of "A","C","T", and "G" characters, of which the reverse complement sequence is desired

Value

dna.seq

Examples

Run this code
test.sequence<-"ACTGATGAT"
revcomp(test.sequence)

Run the code above in your browser using DataLab