View source: R/utils_uniprot.R
| uniprot_sequence | R Documentation |
Lightweight FASTA-only fetch. Use this when you only need the amino acid
sequence. For full annotations and metadata use uniprot_to_A3().
uniprot_sequence(
accession,
base_url = "https://rest.uniprot.org/uniprotkb",
verbosity = 1L
)
accession |
Character scalar: UniProt accession, e.g. |
base_url |
Character scalar: UniProt REST API base URL. |
verbosity |
Integer scalar: Verbosity level. |
Character scalar: amino acid sequence in single-letter code.
EDG
# Requires internet connection and fetches data from UniProt.
## Not run:
seq <- uniprot_sequence("P10636")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.