Access to the 'Phylo-Species Atlas' of Empirical Phylogenies

Provides convenience functions to fetch standardized phylogenetic trees and per-tree provenance metadata from the 'Phylo-Species Atlas' < https://github.com/franciscorichter/phylo-species-atlas> directly from R. The atlas is a curated collection of empirical species-level trees covering Bacteria, Archaea, and Eukaryota, organized into 62 partitions of life with tip labels normalized against a shared dictionary of standardized species identifiers. Functions load any of the standardized trees with species labels resolved from the dictionary, list available trees, and inspect per-tree provenance.


phyloatlas

R access to the Phylo-Species Atlas — 49 datasets, 641,763 species, standardized Newick format.

Install

# install.packages("pak")
pak::pkg_install("franciscorichter/phylo-species-atlas/phyloatlas")

Use

library(phyloatlas)

# Browse available trees
trees <- list_trees()
head(trees)

# Load one
tree <- load_atlas_tree("mammals")
plot(tree, show.tip.label = FALSE)

# Provenance for a single tree
atlas_info("birds")

Trees larger than ~10k tips download faster with resolve_labels = FALSE, which skips the 18 MB species dictionary:

tree <- load_atlas_tree("seed_plants", resolve_labels = FALSE)

Functions

Function Purpose
load_atlas_tree(name) Load a tree by name, with standardized labels
list_trees() Data frame of every tree + provenance
atlas_info(name) One-row metadata for a single tree
atlas_clear_cache() Force re-download of cached metadata/dictionary

Notes

Dictionary and metadata are cached in memory once per R session. To point at a fork or local mirror:

options(phyloatlas.base_url = "https://raw.githubusercontent.com/yourfork/phylo-species-atlas/main")
atlas_clear_cache()

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("phyloatlas")

0.1.0 by Francisco Richter, 4 months ago


https://github.com/franciscorichter/phylo-species-atlas, https://franciscorichter.github.io/phylo-species-atlas/


Report a bug at https://github.com/franciscorichter/phylo-species-atlas/issues


Browse source code at https://github.com/cran/phyloatlas


Authors: Francisco Richter [aut, cre] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports ape, utils

Suggests knitr, rmarkdown, testthat, withr


See at CRAN