View source: R/misc-05-getUniProt.R
getUniProt | R Documentation |
This function retrieves protein sequences from uniprot.org by protein ID(s).
getUniProt(id)
id |
A character vector, as the protein ID(s). |
A list, each component contains one protein sequence.
Nan Xiao <https://nanx.me>
See readFASTA
for reading FASTA format files.
## Not run:
# Network latency may slow down this example
# Only test this when your connection is fast enough
ids <- c("P00750", "P00751", "P00752")
getUniProt(ids)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.