Skip to contents

Draw and export glycans

draw_cartoon()
Draw a Symbol Nomenclature For Glycan (SNFG)
draw_cartoon_sketch()
Draw a sketch-style glycan cartoon
print(<glydraw_cartoon>)
Print glycan cartoon
save_cartoon()
Save fixed-size glycan cartoon image to local device.
export_cartoons()
Export all glycan structures to figures

Extend ggplot2 and ggraph

geom_glycan()
Draw glycans at ggplot2 positions
geom_node_glycan()
Draw glycans as ggraph nodes
guide_glycan()
Use glycan cartoons as legend labels
scale_x_glycan() scale_y_glycan()
Use glycan cartoons as axis labels

Reuse glycan graphics

anno_glycan()
Use glycan cartoons as ComplexHeatmap labels
glycanGrob()
Construct a glycan grob
glydraw_colors()
Default color palette in glydraw
style_glydraw() style_glygen() style_snfg() style_glycoworkbench()
Glycan drawing styles
hjust_red_end() vjust_red_end()
Anchor glycan cartoons at their reducing ends