collapseNodes {dowser} | R Documentation |
collapseNodes
Node collapsing function.
collapseNodes(trees, tips = FALSE, check = TRUE)
trees |
a tibble of |
tips |
collapse tips to internal nodes? (experimental) |
check |
check that collapsed nodes are consistent with original tree |
Use plotTrees(trees)[[1]] + geom_label(aes(label=node)) + geom_tippoint() to show node labels, and getSeq to return internal node sequences
A tibble with phylo
objects that have had internal nodes collapsed.