revcomp: DNA Reverse Complementation

Description Usage Arguments Value Author(s) Examples

View source: R/BaySIC.R

Description

Returns the reverse complement of a given DNA character string

Usage

1
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

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

BaySIC documentation built on May 30, 2017, 1:52 a.m.