Learn R Programming

phylosim (version 3.0.5)

revComp.NucleotideSequence: Reverse complmenet a NucleotideSequence object

Description

Reverse complmenet a NucleotideSequence object.

The method reverse complements the sequence "in place", no object cloning is performed.

Usage

# S3 method for NucleotideSequence
revComp(this, ...)

Arguments

this

A NucleotideSequence object

...

Not used.

Value

Invisible TRUE.

See Also

For more information see NucleotideSequence.

Examples

Run this code
# NOT RUN {
	s<-NucleotideSequence(string="ATGC")
	s
	revComp(s)
	s
 
# }

Run the code above in your browser using DataLab