powered by
Maps glycan node labels to SNFG shapes and colors.
match_snfg_style(graph)
An `igraph` object with additional vertex attributes: `snfg_shape` (numeric starshape) and `snfg_fill` (color).
An `igraph` object.
s <- "Neu5Ac(a2-3)Gal(b1-4)GlcNAc(b1-2)Man(a1-3)Man(b1-4)GlcNAc(b1-4)GlcNAc" g <- read_glycan(s) g <- match_snfg_style(g)
Run the code above in your browser using DataLab