Skip to contents

Use this function to retrieve the shortest path between two nodes in the taxonomy tree of UniProt Taxonomy database.


rba_uniprot_taxonomy_relationship(from, to, ...)



NCBI taxonomic identifier of your initial node.


NCBI taxonomic identifier of your final node.


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


a nested list containing the node which are in the shortest path between your supplied nodes.

Corresponding API Resources



  • The UniProt Consortium, UniProt: the universal protein knowledgebase in 2021, Nucleic Acids Research, Volume 49, Issue D1, 8 January 2021, Pages D480–D489,

  • Andrew Nightingale, Ricardo Antunes, Emanuele Alpi, Borisas Bursteinas, Leonardo Gonzales, Wudong Liu, Jie Luo, Guoying Qi, Edd Turner, Maria Martin, The Proteins API: accessing key integrated protein and genome information, Nucleic Acids Research, Volume 45, Issue W1, 3 July 2017, Pages W539–W544,

  • Proteins API Documentation

  • Citations note on UniProt website


# \donttest{
rba_uniprot_taxonomy_relationship(from = 9606, to = 10090)
# }