
Changelog
glydet 0.9.0
New features
-
quantify_motifs()now includes amotif_structurecolumn in thevar_infotibble of the returned experiment, containing the parsed glycan structure for each motif.
glydet 0.8.1
Minor improvements and bug fixes
- Fix bugs in
explain_trait()andmake_trait()that “nGt” was not intepretaed correctly.
glydet 0.8.0
New features
-
make_trait()andexplain_trait()now have acustom_mpargument to allow users to define custom meta-properties.
Minor improvements and bug fixes
- Update documentation of
quantify_motifs()to add a new type ofalignment: “exact”, to be consistent with glymotif 0.12.0. - Add reflection mechanism to
make_trait()to make it more accurate. - Add a
verboseargument tomake_trait()to control the amount of information printed to the console.
glydet 0.7.0
We introduce exciting new features to glydet, including explaining and creating derived traits using a Large Language Model (LLM). We hope these features will help you work with custom derived traits more efficiently with less effort.
New features
-
explain_trait()now supportstotal()andwsum()traits. -
explain_trait()now supports a new argumentuse_aito use a Large Language Model (LLM) to explain the trait. - Add
make_trait()to create a derived trait function using natural language with a Large Language Model (LLM).
Minor improvements and bug fixes
- The result of
derive_traits()andderive_traits_()now have anexplanationcolumn in the output tibble, explaining the derived traits.
glydet 0.6.2
Minor improvements and bug fixes
- Add
alignmentsandignore_linkagesparameters toquantify_motifs(). These two parameters were left behind when we migratedquantify_motifs()fromglymotiftoglydetin glydet 0.6.0.
glydet 0.6.0
Breaking changes
- The first parameter of
wmean()is renamed fromval_condtoval. - The built-in trait
SGis renamed toGS, andGAtoAG, to match the convention that the last element of a trait name should be the focused property.
New features
- Add two new trait factories:
total()andwsum(). - Add
quantify_motifs(). This function was once in theglymotifpackage, but we realized that motif quantification is essentially a special case of derived traits, so we reimplemented it inglydetwith a more consistent and powerful interface.
Minor improvements and bug fixes
- Fix some improperly named traits in the “Defining Custom Traits” vignette.
- Fix an error in a code snippet in the “Defining Custom Traits” vignette:
prop(nFc + nFa > 0)->prop((nFc + nFa) > 0). - Add a vignette about quantifying glycan motifs.
- Update the introduction part in the “Get Started with glydet” vignette.
- All trait factories now have a
glydet_traitsuper class.
glydet 0.5.0
Breaking changes
- The meta-property
Tis renamed toTp, to avoid confusion with the R aliasTforTRUE.
New features
- Add
mp_colsparameter toderive_traits()as a new way to define custom meta-properties.
Minor improvements and bug fixes
-
derive_traits()andderive_traits_()now have separate documentations. - Update the “Defining Custom Traits” vignette to include the newly added
mp_colsparameter. - Better error message when custom derived traits use undefined meta-properties.
- Add a section about how NAs can appear in the documentations of
prop(),ratio(), andwmean().
glydet 0.4.0
Breaking changes
- The old
all_traits()is renamed tobasic_traits(). - A new
all_traits()is added, which includes more advanced derived traits with more detailedwithinconditions. -
derive_traits()now usesbasic_traits()by default. -
derive_traits()now returns aglyexp::experiment()object with the “traitomics” type for glycomics data, and “traitproteomics” type for glycoproteomics data, instead of “traitomics” for all input.
Minor improvements and bug fixes
- Introduce the new
all_traits()in the Get Started vignette. - Add examples to some functions.
glydet 0.3.0
New features
- Trait functions created by
prop(),ratio(), andwmean()can be printed nicely into the console. - Add
explain_trait()to provide a human-readable explanation of trait definitions. - Add a
nFbuilt-in meta-property to count the number of fucoses. TheTFtrait is redefined asprop(nF > 0).
Minor improvements and bug fixes
- Emphasize in the documentation of
derive_traits()andderive_traits_()that the “glycan_structure” column can be either aglyrepr::glycan_structure()vector or a character vector of glycan structure strings supported byglyparse::auto_parse(). -
derive_traits()andderive_traits_()now raise an error if thetrait_fnsparameter is not a named list. -
derive_traits()andderive_traits_()now raise an error if thetrait_fnsparameter is an empty list. - A “Working with Glycomics Data” section is added to the “Get Started” vignette.
- A “Validating Trait Definitions” section is added to the “Defining Custom Traits” vignette.
glydet 0.2.0
New features
-
derive_traits()andadd_meta_properties()now validates if thestruc_colcolumn exists. - Add an
overwriteparameter toadd_meta_properties()to deal with existing trait columns.
Minor improvements and bug fixes
- Fix a serious bug in
derive_traits(), where the row names of the expression matrix were not set correctly for glycomics data. - Fix typos in documentations.