Description Usage Arguments Value Author(s) See Also Examples
Get the alignment stored in a PhyloSim object.
1 2 | ## S3 method for class 'PhyloSim'
getAlignment(this, ...)
|
this |
A PhyloSim object. |
... |
Not used. |
The alignment as a matrix. Gap are represented by strings composed of dashes.
Botond Sipos, Gregory Jordan
For more information see PhyloSim
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Create a PhyloSim object.
# Provide the phylo object
# and the root sequence.
sim<-PhyloSim(
name="TinySim",
phylo=rcoal(3),
root.seq=NucleotideSequence(string="ATG",processes=list(list(JC69())))
);
# run the simulation
Simulate(sim)
# get the resulting aligment
getAlignment(sim)
# via virtual fileld:
sim$alignment
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.