
Add Descriptions to Glycan Structures
add_struct_descriptions.Rd
This function adds columns about glycan structural properties
to the variable information tibble.
Depending on the glycan type (N-glycan, O-glycan),
different columns are added.
Current, only N-glycan descriptions are implemented.
See glymotif::describe_n_glycans()
for columns added.
Arguments
- exp
An
experiment()
object.
Details
The function relies on the glycan_structure
column in
the var_info
tibble, and it should be a glyrepr_structure
object.
If you use the glyread
package to directly read results from search engines
(such as pGlyco3), this column will be automatically added to var_info
.
If you construct the glyexp_experiment
object yourself, you need to ensure
that this column exists and its type is glyrepr_structure
.
See glyrepr::glycan_structure()
or glyrepr::as_glycan_structure()
for how to create such objects manually.