plotPops: Plot species tree, with population sizes on edges.
Description
Plot species tree, with population sizes on edges.
Usage
plotPops(stree, populations)
Arguments
stree
An object of class phylo containing a rooted metric species tree.
populations
A vector containing constant population sizes, one entry for each
edge/population in the species tree, with last entry for
the population ancestral to the root.
# NOT RUN {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)
# }