Description Usage Arguments Value Author(s) See Also Examples
Get the root sequence aggregated by a PhyloSim object.
1 2 | ## S3 method for class 'PhyloSim'
getRootSeq(this, ...)
|
this |
A PhyloSim object. |
... |
Not used. |
The root Sequence object or NA.
Botond Sipos, Gregory Jordan
For more information see PhyloSim
. Sequence Process
1 2 3 4 5 6 7 8 9 10 11 | # create some objects
sim<-PhyloSim(phylo=rcoal(3));
seq<-NucleotideSequence(string="ATGCC");
# set/get root sequence
setRootSeq(sim, seq);
getRootSeq(sim, seq);
# set/get root sequence via virtual field
sim$rootSeq<-BinarySequence(string="111000111000");
sim$rootSeq;
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.