powered by
Parses a glycan string (IUPAC condensed format) and returns a graph object.
read_glycan(x, format = "iupac")
An `igraph` object representing the glycan structure.
A character string representing the glycan structure.
The format of the string. Currently only "iupac" is supported.
s <- "Neu5Ac(a2-3)Gal(b1-4)GlcNAc(b1-2)Man(a1-3)Man(b1-4)GlcNAc(b1-4)GlcNAc" g <- read_glycan(s)
Run the code above in your browser using DataLab