View source: R/annotation_uniprot.R
load_uniprot_annotations | R Documentation |
Uniprot is an astonishing resource, but man is it a pain to use. Hopefully this function will help. It takes either a uniprot accession, taxonomy ID, or species name and does its best to find the appropriate uniprot data. This is therefore primarily used by load_uniprot_annotations().
load_uniprot_annotations(
accession = NULL,
species = "H37Rv",
taxonomy = NULL,
all = FALSE,
first = FALSE
)
accession |
Which accession to grab? |
species |
Or perhaps species? |
taxonomy |
Query for a specific taxonomy ID rather than species/accession? |
all |
If there are more than 1 hit, grab them all? |
first |
Or perhaps just grab the first hit? |
A filename/accession tuple.
[xml2] [rvest]
uniprot_sc_downloaded <- load_uniprot_annotations(species = "Saccharomyces cerevisiae S288c")
uniprot_sc_downloaded$filename
uniprot_sc_downloaded$species
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.