get_otol: Get info from Open Tree of Life

View source: R/dataFunctions.R

get_otolR Documentation

Get info from Open Tree of Life

Description

Get info from Open Tree of Life

Usage

get_otol(taxon)

Arguments

taxon

The clade to investigate

Value

list containing studies (a data.frame of info about that taxon. Columns include year of the study, number of taxa in the tree from that study, the study citation, and the study DOI) and ntaxa (the number of taxa in OpenTree for that taxon).

Examples

info <- get_otol("Gallus")
histogram(info$studies$year) # Years in which chicken papers in OpenTree were published

bomeara/chapter2 documentation built on July 22, 2023, 3:19 a.m.