get_otol_synthetic_tree: Get an Open Tree of Life synthetic subtree of a set of given...

View source: R/otol_tree.R

get_otol_synthetic_treeR Documentation

Get an Open Tree of Life synthetic subtree of a set of given taxon names.

Description

Get an Open Tree of Life synthetic subtree of a set of given taxon names.

Usage

get_otol_synthetic_tree(
  input = NULL,
  ott_ids = NULL,
  otol_version = "v3",
  resolve = FALSE,
  ...
)

Arguments

input

Optional. A character vector of names or a datelifeQuery object.

ott_ids

If not NULL, it takes this argument and ignores input. A numeric vector of ott ids obtained with rotl::taxonomy_taxon_info() or rotl::tnrs_match_names() or tnrs_match().

otol_version

Version of Open Tree of Life to use

resolve

Defaults to TRUE. Whether to resolve the tree at random or not.

...

Arguments passed on to check_ott_input

Value

A phylo object


phylotastic/datelife documentation built on Jan. 17, 2024, 11:10 p.m.