SAtree.from.fossils function

Transforms a tree and fossils dataframe to a combined SA tree. Sampled ancestors are represented as tips on zero-length edges to maintain compatibility with the ape format. Tip labels are set to "species id"_"index", where the most recent tip of a given species receives index 1 and indices increase towards the past.

  • Maintainer: Joelle Barido-Sottani
  • License: GPL-3
  • Last published: 2024-10-02

Useful links