Learn R Programming

glyparse (version 0.5.5)

parse_linear_code: Parse Linear Code Structures

Description

Parse Linear Code structures into a glyrepr::glycan_structure(). To know more about Linear Code, see this article.

Usage

parse_linear_code(x)

Value

A glyrepr::glycan_structure() object.

Arguments

x

A character vector of Linear Code strings. NA values are allowed and will be returned as NA structures.

Examples

Run this code
linear_code <- "Ma3(Ma6)Mb4GNb4GNb"
parse_linear_code(linear_code)

Run the code above in your browser using DataLab