Learn R Programming

glyparse (version 0.5.5)

parse_pglyco_struc: Parse pGlyco Structures

Description

Parse pGlyco-style structure characters into a glyrepr::glycan_structure(). See example below for the structure format.

Usage

parse_pglyco_struc(x)

Value

A glyrepr::glycan_structure() object.

Arguments

x

A character vector of pGlyco-style structure strings. NA values are allowed and will be returned as NA structures.

Examples

Run this code
glycan <- parse_pglyco_struc("(N(F)(N(H(H(N))(H(N(H))))))")
print(glycan, verbose = TRUE)

Run the code above in your browser using DataLab