Center-for-Proteomics-and-Metabolomics / GlycoDash

GlycoDash is an R Shiny dashboard for processing protein glycosylation data obtained from LaCyTools or SkyLine.
MIT License
2 stars 0 forks source link

Custom traits don't work when data contains non-glycosylated peptides #42

Open stainawarijar opened 1 year ago

stainawarijar commented 1 year ago

The issue is with the calculate_custom_traits() function, which uses pivot_wider() to create columns for each glycan. This does not work when there are analytes without a glycan.

Will have to rewrite the function. Could probably be written more efficiently as well.

stainawarijar commented 1 year ago

For now this can be solved by creating separate block files in LaCyTools for non-glycosylated peptides. That way they are not assigned to the same cluster as glycopeptides.