| get_structure_graphs | R Documentation |
Extract individual glycan structure graphs from a glycan structure vector.
A structure with floating parts is returned as one annotated, weakly
disconnected igraph: its main tree and floating components share the graph,
and the floating_parts graph attribute records each component's node
indices, virtual attachment, and candidate parents. See glycan_structure()
for the metadata schema.
A structure with floating substituents carries a floating_substituents
graph attribute containing their tokens and candidate parent indices.
get_structure_graphs(x, return_list = NULL)
x |
A glycan structure vector. |
return_list |
If |
A list of igraph objects or an igraph object directly (see return_list parameter).
structures <- c(o_glycan_core_1(), n_glycan_core())
get_structure_graphs(structures)
get_structure_graphs(structures)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.