prune_levels | R Documentation |
Taxonomic ranks without taxon concepts will be pruned in taxlist objects.
prune_levels(object, ...)
## S3 method for class 'taxlist'
prune_levels(object, ...)
object |
An object of class taxlist. |
... |
Further arguments passed among methods (not yet in use). |
An object of class taxlist with pruned taxonomic ranks.
levels()
## Subset species belonging to Cyperus
Cyperus <- subset(Easplist, TaxonName == "Cyperus", slot = "taxonNames",
keep_children = TRUE, keep_parents = TRUE)
Cyperus
## Prune not used ranks
prune_levels(Cyperus)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.