Release notes
v0.5.2
Breaking changes:
leidenalgis no longer installed by default. It is required by estimate_balancing_weight (called by fit_SCGLUE unlessskip_balance=True) and normalized_mutual_info, and can be installed viapip install scglue[leiden].Renamed
calc_hypo_scoreto calc_hypo_ratio.The
"majority"aggregation in aggregate_obs and aggregate_var now returns NaN when the top category accounts for less thanmajority_cutoff(default 0.6) of a group. Setmajority_cutoff=0to restore the previous behavior.get_metacells now writes metacell assignments to
obs["metacell"]of the input datasets.
New features:
Added support for AnnCollection in configure_dataset and model training.
Added support for dask arrays in model training and aggregate_obs.
Added a
"join"aggregation method for discrete columns and amajority_cutoffoption in aggregate_obs and aggregate_var.get_metacells now records the metacell each cell belongs to (Resolves #138).
Enhancements:
Moved configure_dataset to
scglue.data. It remains accessible asscglue.models.configure_dataset.
Bug fixes:
Fixed compatibility with recent versions of
anndataandpandas, including pandas 3 (Resolves #140).Fixed aggregate_obs failing when the
bycolumn contains missing values.Fixed
"majority"aggregation failing when all values in a group are missing.
v0.4.0
Bug fixes:
Fixed compatibility with latest version of anndata.
Fixed trainers when “use_cell_type” is used, see this PR.
Allowed CUDA_VISIBLE_DEVICES to override autodevice.
New features:
A general anchored guidance graph construction function anchored_guidance_graph.
Add function classify_data to retrieve the cell type classification from compatible models.
Add support for CITE-seq data via NBMixture, see this PR.
Add preliminary support for region-based ATAC-Methyl integration.
Added skip_balance option for fit_SCGLUE`.
v0.3.2
Bug fixes:
Fixed “real_cross” loss in PairedSCGLUETrainer and SCCLUETrainer.
v0.3.1
Bug fixes:
Fixed NaN loss in PairedSCGLUETrainer.
Restored rna_anchored_prior_graph as a deprecated function (to be replaced by rna_anchored_guidance_graph).
v0.3.0
New features:
New tutorial and functions for regulatory inference (Resolves #15, #41).
New tutorial for training on partially paired data (Resolves #24).
Enhancements:
Modularized scglue.models.integration_consistency to allow for non-raw-count input (Resolves #30).
Added documentation translation in Chinese.
v0.2.3
Minor improvements and bug fixes
Bug fixes:
Data frame in
obsmno longer triggers an error during model training (Resolves #32).
Enhancements:
scglue.data.transfer_labels uses a new strategy with SNN-based estimation of transfer confidence (Resolves #23).
Allow setting custom bedtools path via scglue.config.BEDTOOLS_PATH (Resolves #22).
v0.2.2
Minor improvements and bug fixes
Bug fixes:
Device detection is now more reliable (Resolves #17).
Enhancements:
Custom encoders and decoders can now be registered without changing package code (Resolves #14).
v0.2.1
Minor improvements and dependency fixes
v0.2.0
New features:
Added fit_SCGLUE function to simplify model training - Incorporates weighted adversarial alignment by default, with increased robustness on datasets with highly-skewed cell type compositions
Added support for batch effect correction, which can be activated by setting
use_batchin configure_datasetAdded a model diagnostics metric “integration consistency score”
Enhancements:
Support for training directly on disk-backed AnnData objects, scaling to almost infinite number of cells
Bug fixes:
Fixed a bug where the graph dataset was not shuffled across epochs
Experimental features:
A partially paired GLUE model for utilizing paired cells whenever available
The CLUE model that won the NeurIPS 2021 competition in multimodal integration is here!
v0.1.1
First public release