taxa {metacoder} | R Documentation |
A class for multiple taxon objects
Description
Stores one or more [taxon()] objects. This is just a thin wrapper for a list of [taxon()] objects.
Usage
taxa(..., .list = NULL)
Arguments
... |
Any number of object of class [taxon()] |
.list |
An alternate to the '...' input. Any number of object of class [taxon()]. Cannot be used with '...'. |
Details
This is the documentation for the class called 'taxa'. If you are looking for the documentation for the package as a whole: [taxa-package].
Value
An 'R6Class' object of class 'Taxon'
See Also
Other classes:
hierarchies()
,
hierarchy()
,
taxmap()
,
taxon()
,
taxon_database()
,
taxon_id()
,
taxon_name()
,
taxon_rank()
,
taxonomy()
Examples
(a <- taxon(
name = taxon_name("Poa annua"),
rank = taxon_rank("species"),
id = taxon_id(93036)
))
taxa(a, a, a)
# a null set
x <- taxon(NULL)
taxa(x, x, x)
# combo non-null and null
taxa(a, x, a)
[Package metacoder version 0.3.7 Index]