Learn R Programming

TmCalculator (version 1.0.3)

complement: complement and reverse complement base of nucleotide sequences

Description

get reverse complement and complement base of nucleotide sequences

Usage

complement(ntseq, reverse = FALSE)

Arguments

ntseq

Sequence (5' to 3') of one strand of the nucleic acid duplex as string or vector of characters

reverse

Logical value, TRUE is reverse complement sequence, FALSE is not.

References

citation("TmCalculator")

Examples

Run this code
# NOT RUN {
complement("ATCGYCGYsWwsaVv")
complement("ATCGYCGYsWwsaVv",reverse=TRUE)

# }

Run the code above in your browser using DataLab