Learn R Programming

RNeXML (version 2.4.11)

get_taxa_meta_list: get_taxa_meta_list

Description

Retrieve metadata of all species/otus otus (operational taxonomic units) included in the nexml

Usage

get_taxa_meta_list(nexml, what = "href")

Value

the list of metadata for each taxon

Arguments

nexml

a nexml object

what

One of href, rel, id, or xsi:type

See Also

get_item

Examples

Run this code
if (FALSE) {
data(bird.orders)
birds <- add_trees(bird.orders)
birds <- taxize_nexml(birds, "NCBI")
RNeXML:::get_taxa_meta_list(birds)
RNeXML:::get_taxa_meta_list(birds, 'rel')
RNeXML:::get_taxa_meta_list(birds, 'id')
RNeXML:::get_taxa_meta_list(birds, 'xsi:type')
}

Run the code above in your browser using DataLab