remove_substituents: Remove All Substituents from a Glycan

View source: R/substituent.R

remove_substituentsR Documentation

Remove All Substituents from a Glycan

Description

This function replaces all vertex substituents in a glycan structure with empty strings and removes unresolved floating substituents.

Usage

remove_substituents(glycan)

Arguments

glycan

A glyrepr_structure vector or a glycan igraph.

Value

An object of the same representation as glycan with all substituents removed. Graph input retains its vertex IDs and order.

Examples

(glycan <- o_glycan_core_1())
remove_substituents(glycan)


glyrepr documentation built on Sept. 22, 2026, 5:09 p.m.