prune_by_ids

PhyloTree.prune_by_ids(node_ids)[source]

Prune the tree and keep the nodes/tips in node_ids

Parameters

node_ids – Nodes/tips to keep