plotEdgeOrder {MSCsimtester} | R Documentation |
Plot species tree, with edge numbers on edges.
Description
Under the MSC, each edge in the species tree must be assigned a population size. This function displays the species tree with the edges numbered, to aid the user in entering constant population sizes as an appropriately ordered list.
Usage
plotEdgeOrder(stree)
Arguments
stree |
An object of class |
Value
NONE
See Also
pairwiseDist
, rootedTriple
, plotPops
Examples
stree=read.tree(text="(((a:10000,b:10000):10000,c:20000):10000,d:30000);")
plotEdgeOrder(stree)
pops=c(30000,20000,1,1,1,1,10000)
plotPops(stree,pops)
[Package MSCsimtester version 1.0.0 Index]