powered by
Get the edge matrix from a phylo object aggregated by a PhyloSim object.
The rows of the edge matrix contain the nodes connected by the edge and the edge length.
# S3 method for PhyloSim getEdges(this, ...)
A PhyloSim object.
Not used.
A matrix.
For more information see PhyloSim.
PhyloSim
# NOT RUN { # create a PhyloSim object sim<-PhyloSim(phylo=rcoal(5)); # get the edge matrix getEdges(sim) # get the edge matrix via virtual field sim$edges # }
Run the code above in your browser using DataLab