rba_uniprot_proteins_crossref {rbioapi}R Documentation

Get UniProt Entry by UniProt Cross-Reference Database and ID

Description

UniProt Cross-Reference links protein Entities with cross-reference (external) databases. Using this function, you can retrieve a UniProt entity using external database name and protein ID in that database.

Usage

rba_uniprot_proteins_crossref(
  db_id,
  db_name,
  reviewed = NULL,
  isoform = NULL,
  ...
)

Arguments

db_id

The protein ID in the cross-reference (external) database.

db_name

cross-reference (external database) name.

reviewed

Logical: (Optional) If TRUE, only returns "UniProtKB/Swiss-Prot" (reviewed) entries; If FALSE, only returns TrEMBL (un-reviewed) entries.

isoform

Numeric: (Optional) you have two options:

  • 0: Exclude isoforms.

  • 1: Return isoforms only.

see: Alternative products

...

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

Value

List which each element is a UniProt entity that correspond to your supplied cross-reference database name and ID.

Corresponding API Resources

"GET https://www.ebi.ac.uk/proteins/api/proteins/{dbtype}:{dbid}"

References

See Also

Other "UniProt - Proteins": rba_uniprot_proteins(), rba_uniprot_proteins_search()

Examples


rba_uniprot_proteins_crossref("cd40", "hgnc")


rba_uniprot_proteins_crossref("cd40", "hgnc", reviewed = TRUE)


rba_uniprot_proteins_crossref("mica", "hgnc", isoform = 0)



[Package rbioapi version 0.8.1 Index]