| parse_pglyco_struc | R Documentation |
Parse pGlyco-style structure characters into a glyrepr::glycan_structure().
See example below for the structure format.
parse_pglyco_struc(
x,
on_failure = "error",
progress = FALSE,
validate = lifecycle::deprecated()
)
x |
A character vector of pGlyco-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_pglyco_struc("(N(F)(N(H(H(N))(H(N(H))))))")
print(glycan, verbose = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.