plotPops {MSCsimtester} | R Documentation |
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 |
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. |
Value
NONE
See Also
pairwiseDist
, rootedTriple
, plotEdgeOrder
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]