rba_uniprot_proteins {rbioapi}R Documentation

Get UniProt entry by accession

Description

Use this function to retrieve a UniProt Entry by it's UniProt accession. You can also use "isoform" or "interaction" arguments to retrieve isoforms or interactor proteins of that entry. Note that in one function call you can only set none or only one of "isoform" or "interaction" as TRUE, not both of them.

Usage

rba_uniprot_proteins(accession, interaction = FALSE, isoforms = FALSE, ...)

Arguments

accession

UniProtKB primary or secondary accession.

interaction

Logical: (default = FALSE) Only retrieve interaction information of your supplied UniProt entity?

isoforms

Logical: (default = FALSE) Only retrieve isoforms of your supplied UniProt entity?

...

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

Value

A list that contains UniProt protein informations with your supplied accession.

Corresponding API Resources

"GET https://ebi.ac.uk/proteins/api/proteins/{accession}"
"GET https://ebi.ac.uk/proteins/api/proteins/interaction/{accession}"
"GET https://ebi.ac.uk/proteins/api/proteins/{accession}/isoforms"

References

See Also

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

Examples


rba_uniprot_proteins(accession = "P01730")


rba_uniprot_proteins(accession = "P01730", interaction = TRUE)


rba_uniprot_proteins(accession = "Q29983", isoforms = TRUE)



[Package rbioapi version 0.8.1 Index]