powered by
A convenient wrapper to add edges, edge labels, and SNFG nodes to a glycan plot.
geom_glycan( edge_color = "black", edge_width = 0.5, arrow_length = unit(2, "mm"), node_size = 5, node_label = FALSE, label_size = 3.88, edge_label_size = 3.88, ... )
A list of `ggplot2` layers.
Color of the edges.
Width of the edges.
Length of the edge arrows.
Size of the node symbols.
Logical. Whether to show node labels (monosaccharide names). Default is FALSE.
Size of the node labels.
Size of the edge labels (linkage).
Additional arguments (currently unused).
s <- "Neu5Ac(a2-3)Gal(b1-4)GlcNAc(b1-2)Man(a1-3)Man(b1-4)GlcNAc(b1-4)GlcNAc" if (FALSE) { gglycan(s) + geom_glycan() }
Run the code above in your browser using DataLab