rba_uniprot_taxonomy_name {rbioapi}R Documentation

Search UniProt Taxonomic Names

Description

Using this function, you can search and retrieve taxonomic nodes using their names from UniProt Taxonomy database.

Usage

rba_uniprot_taxonomy_name(
  name,
  field = "scientific",
  search_type = "equal_to",
  node_only = TRUE,
  page_size = 200,
  page_number = 1,
  ...
)

Arguments

name

a name to to be used as search query.

field

Specify the field that your supplied name should be searched. It should be one of : "scientific" (default), "common" or "mnemonic".

search_type

The logical relationship between your supplied search query and the taxonomic name field. It should be one of "equal_to" (default), "start_with", "end_with" or "contain".

node_only

(logical) Retrieve only the node(s) information and exclude URL links to parents, siblings and children nodes. default = TRUE

page_size

(numeric) Your search results may be very long, thus UniProt API will paginate the results, you may use this argument to control the pagination. maximum value is 200.

page_number

(numeric) Your search results may be very long, thus UniProt API will paginate the results, you may use this argument to control the pagination. maximum value is 200.

...

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

Value

a list containing taxonomic nodes that match your supplied inputs.

Corresponding API Resources

"GET https://ebi.ac.uk/proteins/api/name/{name}"
"GET https://ebi.ac.uk/proteins/api/name/{name}/node"

References

See Also

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

Examples


rba_uniprot_taxonomy_name(name = "homo", field = "scientific",
    search_type = "start_with")


rba_uniprot_taxonomy_name(name = "adenovirus", field = "scientific",
    search_type = "contain", page_size = 200, page_number = 2)



[Package rbioapi version 0.8.1 Index]