read.simmap(file="", text, format="phylip", rev.order=TRUE, version=1)
version=1.5
this argument is ignored. (This format tree can only be read from file in the present version.)"phylip"
or "nexus"
- the latter is the default output from SIMMAP. If version=1.5
this argument is ignored.version=1.5
this argument is ignored.link{make.simmap}
then version=1.0
; if the tree(s) was/were simulated using SIMMAP v1.5 then version=1.5
."phylo"
with the following additional elements:read.nexus
from the "ape" package to read the NEXUS block created by SIMMAP. Also creates the attribute "map.order"
which indicates whether the stochastic map was read in from left to right or right to left. This attribute is used by default by write.simmap
to write the tree in the same order.brownie.lite
, evol.vcv
, read.tree
, read.nexus
X<-
"((A:{aqua,0.3:terr,0.4:aqua,0.3},B:{aqua,1.0}):{aqua,1.0},(C:{aqua,0.25:terr,0.75},D:{aqua,1.0}):{aqua,1.0});"
phy<-read.simmap(text=X)
Run the code above in your browser using DataLab