rba_uniprot_taxonomy_path {rbioapi}R Documentation

Traverse UniProt Taxonomic Tree Path

Description

Using this function you can retrieve nodes that are located in the top or the bottom of your supplied node in UniProt Taxonomy database tree

Usage

rba_uniprot_taxonomy_path(id, direction, depth = 5, ...)

Arguments

id

(numeric) a NCBI taxonomic identifier

direction

direction of the taxonomic path, either "TOP" or "BOTTOM".

depth

(numeric) How many levels should be traversed on the taxonomic tree? (from 1 to 5, default = 5)

...

rbioapi option(s). See rba_options's arguments manual for more information on available options.

Value

a nested list containing the node which are in the path specified by your supplied argument in the UniProt taxonomic tree.

Corresponding API Resources

"GET https://ebi.ac.uk/proteins/api/path"

References

See Also

Other "UniProt - Taxonomy": rba_uniprot_taxonomy(), rba_uniprot_taxonomy_lca(), rba_uniprot_taxonomy_lineage(), rba_uniprot_taxonomy_name(), rba_uniprot_taxonomy_relationship()

Examples


rba_uniprot_taxonomy_path(id = 9606, direction = "TOP", depth = 3)


rba_uniprot_taxonomy_path(id = 207598, direction = "BOTTOM", depth = 3)



[Package rbioapi version 0.8.1 Index]