Learn R Programming

protr (version 1.7-4)

getUniProt: Retrieve Protein Sequences from UniProt by Protein ID

Description

This function retrieves protein sequences from uniprot.org by protein ID(s).

Usage

getUniProt(id)

Value

A list, each component contains one protein sequence.

Arguments

id

A character vector, as the protein ID(s).

Author

Nan Xiao <https://nanx.me>

See Also

See readFASTA for reading FASTA format files.

Examples

Run this code
if (FALSE) {
# Network latency may slow down this example
# Only test this when your connection is fast enough
ids <- c("P00750", "P00751", "P00752")
getUniProt(ids)
}

Run the code above in your browser using DataLab