
Parse pGlyco Structures
parse_pglyco_struc.Rd
Parse pGlyco-style structure characters into a glyrepr::glycan_structure()
.
See example below for the structure format.
Value
A glyrepr::glycan_structure()
object.
Examples
glycan <- parse_pglyco_struc("(N(F)(N(H(H(N))(H(N(H))))))")
print(glycan, verbose = TRUE)
#> <glycan_structure[1]>
#> [1] Hex(??-?)HexNAc(??-?)Hex(??-?)[HexNAc(??-?)Hex(??-?)]Hex(??-?)HexNAc(??-?)[dHex(??-?)]HexNAc(??-
#> # Unique structures: 1