getUniProt: Retrieve Protein Sequences from UniProt by Protein ID

Description Usage Arguments Value Author(s) See Also Examples

View source: R/misc-05-getUniProt.R

Description

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

Usage

1

Arguments

id

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

Value

A list, each component contains one protein sequence.

Author(s)

Nan Xiao <https://nanx.me>

See Also

See readFASTA for reading FASTA format files.

Examples

1
2
3
4
5
6
## 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)

protr documentation built on Feb. 11, 2019, 9:04 a.m.