View source: R/parse-strucgp.R
| parse_strucgp_struc | R Documentation |
Parse StrucGP-style structure characters into a glyrepr::glycan_structure().
See example below for the structure format.
parse_strucgp_struc(
x,
on_failure = "error",
progress = FALSE,
validate = lifecycle::deprecated()
)
x |
A character vector of StrucGP-style structure strings. NA values are allowed and will be returned as NA structures. |
on_failure |
How to handle parsing failures. |
progress |
Whether to show a progress bar while parsing. |
validate |
Deprecated and ignored. Array records
are always validated by |
A glyrepr::glycan_structure() object.
glycan <- parse_strucgp_struc("A2B2C1D1E2F1fedD1E2edcbB5ba")
print(glycan, verbose = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.