Building and manipulating trees

TODO: examples here are needed

Phylo.createbranch!Function
createbranch!(tree::AbstractTree, src, dst[, len::Number];
              data)

Add a branch from src to dst on tree with optional length and data. source and destination can be either nodes or nodenames.

source
Phylo.deletebranch!Function
deletebranch!(tree::AbstractTree, branch)
deletebranch!(tree::AbstractTree, src, dst)

Delete the branch branch from tree, or branch connecting src node to dst node.

source
Phylo.createnode!Function
createnode!(tree::AbstractTree[, nodename]; data)

Create a node on a tree with optional node info.

source
Phylo.createnodes!Function
createnodes!(tree::AbstractTree, count::Integer)
createnodes!(tree::AbstractTree, nodenames)
createnodes!(tree::AbstractTree, nodedict)

Add a number of nodes, a vector with given names, or a Dict with node names and associated node info to a tree.

source
Phylo.droptips!Function
droptips!(tree::AbstractTree{OneTree}, tips)

Function to drop tips from a phylogenetic tree tree, which are found in the vector of tips or tip names, tips.

source
Phylo.keeptips!Function
keeptips!(tree::AbstractTree{OneTree}, tips)

Function to keep only the tips in a phylogenetic tree, tree, that are found in the vector of tips or tip names, tips.

source