Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

list_trees

List trees ids in objects returned by studies_find_studies and studies_find_trees.


Description

list_trees returns all trees associated with a particular study when used on an object returned by studies_find_studies, but only the trees that match the search criteria when used on objects returned by studies_find_trees.

Usage

list_trees(matched_studies, ...)

## S3 method for class 'matched_studies'
list_trees(matched_studies, study_id, ...)

Arguments

matched_studies

an object created by studies_find_trees or studies_find_studies.

...

Currently unused

study_id

a study_id listed in the object returned by studies_find_trees

Value

list_trees returns a list of the tree_ids for each study that match the requested criteria. If a study_id is provided, then only the trees for this study are returned as a vector.

See Also

studies_find_studies and studies_find_trees. The help for these functions have examples demonstrating the use of list_trees.


rotl

Interface to the 'Open Tree of Life' API

v3.0.11
BSD_2_clause + file LICENSE
Authors
Francois Michonneau [aut, cre] (<https://orcid.org/0000-0002-9092-966X>), Joseph Brown [aut] (<https://orcid.org/0000-0002-3835-8062>), David Winter [aut] (<https://orcid.org/0000-0002-6165-0029>), Scott Chamberlain [rev] (<https://orcid.org/0000-0003-1444-9135>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.