
Changelog
glyexp 0.10.0
This version is a big update for experiment(). We have made this function more flexible, robust, and user-friendly. The breaking changes we introduced in this version have a broad impact on many glycoverse packages. So we recommend to update all packages to the latest versions.
Breaking Changes
-
experiment()now checks whether certain columns are present invar_info. For “glycomics” experiments,glycan_compositionis required. For “glycoproteomics” experiments,protein,protein_site, andglycan_compositionare required. If any required column is missing, an error will be raised.
New Features
-
experiment()now intelligently coerce common column types to improve user experience. For example, it will convertcharactertofactorfor the “group” column insample_info. This behavior can be controlled by thecoerce_col_typesargument. -
experiment()now checks the column types for some important columns, such asprotein,protein_site,glycan_composition, etc. The checking is performed after column coercion (ifcoerce_col_typesisTRUE), and only a message is printed if some column type conventions are violated. This behavior can be controlled by thecheck_col_typesargument. - Add a new type of experiment: “others”. This type is for other omics experiments that are not glycoproteomics or glycomics. In this case,
glycan_typecan beNULL. Also, type coercion and checking are skipped for this type. - Now the minimum required input for
experiment()is only an expression matrix. If not provided,sample_infoandvar_infowill be automatically generated based on the column and row names of the expression matrix.exp_typewill be set to “others” andglycan_typewill be set toNULL. This gives users more flexibility to createexperiment()objects. - “traitomics” and “traitproteomics” are valid values for
exp_typeofexperiment()now.
Minor Improvements and Bug Fixes
-
toy_experimentnow hasexp_type“others”. -
real_experimentandreal_experiment2now have factors for the “group” column insample_info. - Update the “Creating Experiments” vignette to reflect the new changes.
-
set_meta_data(),set_exp_type(), andset_glycan_type()now check the meta data. -
get_meta_data()now returns all meta data fields ifxisNULL.
glyexp 0.9.2
Minor improvements and bug fixes
- Printing the
experiment()object now includes the experiment type in the title. - Add a vignette to explain four experiment types.
- Add a vignette of creating an
experiment()object from scratch.
glyexp 0.9.0
New features
- Add
real_experiment2, a glycomics example experiment. - Add
from_se()andas_se()to convertexperiment()to and fromSummarizedExperiment()objects. - Add
split()to split an experiment into a list of experiments.
Minor improvements and bug fixes
- Add
merge()andsplit()to the getting started vignette. - Add a picture to the getting started vignette to explain index columns.
- Fix a typo in
toy_experiment: “N3N2” should be “H3N2”. - Fix an error in the documentation of
select_var().
glyexp 0.8.0
Breaking changes
-
toy_experimentis no longer a function, but a data object. Instead of usingtoy_experiment()to get the example experiment, usetoy_experimentdirectly.
New features
- Add
left_join_obs(),left_join_var(),inner_join_obs(),inner_join_var(),semi_join_obs(),semi_join_var(),anti_join_obs(), andanti_join_var(). These functions are useful for adding new information toexperiment()from tibbles. - Add a
real_experimentdata object. This is derived from a real-world N-glycoproteome dataset.
Minor improvements and bug fixes
- Fix warnings in
merge(). - Column types in
sample_infoandvar_infoare now displayed in the console when printing theexperiment()object. -
set_exp_type()andset_glycan_type()now validate the input values.
glyexp 0.7.0
Major changes
- Add
merge()function to merge two experiments.
Minor improvements
- Update the documentation of
experiment().
glyexp 0.6.0
Major changes
- Add a series of functions to describe the experiment:
-
count_compositions(): The number of glycan compositions. -
count_structures(): The number of glycan structures. -
count_peptides(): The number of peptides. -
count_glycopeptides(): The number of unique combinations of peptides, sites, and glycans. -
count_glycoforms(): The number of unique combinations of proteins, sites, and glycans. -
count_proteins(): The number of proteins. -
count_glycosites(): The number of unique combinations of proteins and sites.
-
- Remove
add_glycan_descriptions(),add_struc_descriptions(), andadd_comp_descriptions(). These functions are moved to theglymotifpackage.