getEdges.PhyloSim: Get the edge matrix from a phylo object aggregated by a...

Description Usage Arguments Value Author(s) See Also Examples

Description

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.

Usage

1
2
## S3 method for class 'PhyloSim'
getEdges(this, ...)

Arguments

this

A PhyloSim object.

...

Not used.

Value

A matrix.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see PhyloSim.

Examples

1
2
3
4
5
6
7
	# create a PhyloSim object
	sim<-PhyloSim(phylo=rcoal(5));
	# get the edge matrix
	getEdges(sim)
	# get the edge matrix via virtual field
	sim$edges
 


Search within the phylosim package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.