Releases: scverse/decoupler
Releases · scverse/decoupler
v2.1.6
Bugfixes
- Fixed
op.translate(and everyop.resourcecall for non-human organisms) failing with HTTP 404 after HGNC dropped thegenenames/subtree from the EBI FTP mirror; the HCOP fifteen-column files are now fetched from the new HGNC Google Cloud Storage bucket (#303) - Removed a redundant
pd.read_csvcall inop.translatethat re-downloaded the HCOP file a second time and bypassed the retry logic in_download - Fixed
bm.benchmarkground-truth matrix row order not matching score matrix afterpivot, which silently misaligned perturbation labels when obs names sort differently from their original order (#302)
v2.1.5
Added
pl.volcanonow accepts a gene name (str) or list of gene names (list[str]) for thetopparameter to annotate specific features on volcano plots
Changes
- Refactored
ds.ensmbl_to_symbolto reuse_downloadand fixed mirror fallback to actually switch between Ensembl mirrors - Made
tqdmprogress bar compact in_download
Bugfixes
v2.1.4
2.1.4
Changes
- Added
alternativeargument todecoupler.mt.query_set. By default'greater', before it was'two-sided' - Unpinned
scipyversion limit
Bugfixes
- Fixed missing progressbar for
decoupler._download._download - Added missing
decoupler.mt.query_setdocumentation
v2.1.3
pp.adjmatnow returns the same features as used as input instead of the subset ofnetpp.pseudobulknow returns the same order features as used as input instead of shuffling them- Added a dedicated header and 5 attempts to
_downloadto mitigate 429 Client Error from Zenodo downloads
v2.1.2
Added
pp.query_setto test overlap between a given feature set against a database of sets
Changes
tl.rankby_obsmnow acceptsAnnData.obscolumn names specified in theobs_keysargument- Most plotting functions now accept extra arguments through
kw_arguments. - p-values now are corrected using a custom numba-optimized version of
scipy.stats.false_discovery_controlcalled_fdr_bh_axis1_numba
v2.1.1
2.1.1
Added
- mypy checks in CI
- notebook checks in CI
Bugfixes
- Fixed error in
decoupler.pp.pseudobulkwhenadata.obs_nameswere not unique, now throws verbose error - Fixed corner case in
decoupler.mt.gseawhen p-values were infitite and could not be corrected
v2.1.0
Changes
- Updated logo
decoupler._download._downloadnow returns bytes instead of a dataframe. To transform topandas.DataFrameusedecoupler._download._bytes_to_pandas- Enrichment methods and pseudobulking now work with backed AnnData objects, useful when working with big datasets and memory is limited
Bugfixes
- Fixed error in
pl.obsmwhere default value ofcmap_obswas not properly set.