revcomp {BaySIC}R Documentation

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

A character string that is the reverse complement of dna.seq

Author(s)

Nicholas B. Larson

Examples

test.sequence<-"ACTGATGAT"
revcomp(test.sequence)

[Package BaySIC version 1.0 Index]