annotate_nodes_by_map

PhyloTree.annotate_nodes_by_map(node_mapping, only_tips=False)[source]

Annotate nodes by inserting annotation text based on node_mapping

Parameters
  • node_mapping (dict) – Map with annotations

  • only_tips (bool) – Look only for tips