| create_A3 | R Documentation |
Create an A3 object from sequence, annotations, and metadata
create_A3(
sequence,
site = list(),
region = list(),
ptm = list(),
processing = list(),
variant = list(),
uniprot_id = NULL,
description = NULL,
reference = NULL,
organism = NULL
)
sequence |
Character scalar: Amino acid sequence string. |
site |
Named list of site annotations |
region |
Named list of region annotations |
ptm |
Named list of PTM annotations |
processing |
Named list of processing annotations |
variant |
Named list of variant annotations |
uniprot_id |
Optional character scalar: UniProt accession. |
description |
Optional character scalar: Protein description. |
reference |
Optional character scalar: Citation or URL. |
organism |
Optional character scalar: Species name. |
A3 object
EDG
# Minimal: sequence only
a <- create_A3("MAEPRQEFEVMEDHAGTYGLGDRK")
# With site, region, and PTM annotations
a <- create_A3(
"MAEPRQEFEVMEDHAGTYGLGDRK",
site = list(
Active_site = annotation_position(c(5L, 17L), type = "active site")
),
region = list(
Domain = annotation_range(rbind(c(3L, 10L), c(15L, 22L)),
type = "repeat"
)
),
ptm = list(
Phosphorylation = annotation_position(c(2L, 18L), type = "phosphoserine")
),
uniprot_id = "P10636",
organism = "Homo sapiens"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.