Description Usage Arguments Value Author(s) See Also Examples
Get the alignment length from a PhyloSim object.
This method retruns the number of columns in the alignment stored in the PhyloSim object.
1 2 | ## S3 method for class 'PhyloSim'
getAlignmentLength(this, ...)
|
this |
A PhyloSim object. |
... |
Not used. |
A numeric vector of length one.
Botond Sipos, Gregory Jordan
For more information see PhyloSim
.
1 2 3 4 5 6 7 8 | # create a PhyloSim object and run a simulation:
sim<-Simulate(
PhyloSim(phy=rcoal(3),
root=NucleotideSequence(string="ATGC", proc=list(list(JC69())) ) )
)
# get the alignment length
getAlignmentLength(sim)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.