Nothing
#' Get the Anomeric information
#'
#' @param x A glycan structure vector or a glycan `igraph`.
#' @returns A character vector for structure-vector input, or a character scalar
#' for graph input.
#' @export
#'
#' @examples
#' x <- n_glycan_core()
#' get_anomer(x)
get_anomer <- function(x) {
if (inherits(x, "igraph")) {
return(igraph::graph_attr(x, "anomer"))
}
smap_chr(x, function(g) g$anomer)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.