paintSubTree
paints the clade downstream of node
with a particular state; whereas paintBranches
paints only a specified branch.paintSubTree(tree, node, state, anc.state="1", stem=FALSE)
paintBranches(tree, edge, state, anc.state="1")
"phylo"
or a modified object with mapped character traits.paintBranches
.node
.node
(or not, if stem=FALSE
), or, alternatively, what fraction of the stem should be assigned to the derived clade. Note that for tip cla"phylo"
with the following additional elements:make.simmap
, read.simmap
, plotSimmap
, sim.history