View source: R/parse-linear-code.R
| parse_linear_code | R Documentation |
Parse Linear Code structures into a glyrepr::glycan_structure().
To know more about Linear Code, see this article.
parse_linear_code(x, on_failure = "error", progress = FALSE)
x |
A character vector of Linear Code 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. |
A glyrepr::glycan_structure() object.
linear_code <- "Ma3(Ma6)Mb4GNb4GNb"
parse_linear_code(linear_code)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.