CellRank dev (2023-06-08)¶
Features¶
Update CytoTRACE calculation to check infinite values. #761
Refactor
cellrank.tl.kernels.TransportMapKernel
for easier definition of extensions. #764Allow plotting negatively correlated genes in
cellrank.pl.lineage_drivers()
. #779Refactor kernel module. These changes include: - allow kernel element-wise multiplication - decouple CytoTRACE computation from kernel initialization, see
cellrank.tl.kernels.CytoTRACEKernel.compute_cytottrace()
- change argumentmode
tomodel
incellrank.tl.kernels.VelocityKernel
- change argumentscheme
tosimilarity
incellrank.tl.kernels.VelocityKernel
- remove'sampling'
option incellrank.tl.kernels.VelocityKernel
- distinguish between unidirectional and bidirectional kernels - bidirectional kernel inversion is no longer in-place, returns a new object - add more memory efficient way of copying kernels - improvecellrank.kernels.PrecomputedKernel
- abstract kernel-related plotting functions (projection and random walks) - temporarily remove kernel tricks examples - fix various typos in docstrings - fix corner-case bug when computing absorption probabilities - fix not setting transport maps incellrank.tl.kernels.TransportMapKernel
- fix automatic threshold removing 1 row incellrank.tl.kernels.TransportMapKernel
#791Allow local block-diagonal connectivities in
cellrank.tl.kernels.TransportMapKernel
. Renamelast_time_point
argument toself_transitions
and addconn_weight
.self_transitions
can also be applied to specific diagonal blocks only. #828Add argument
subset_to_serum
tocellrank.datasets.reprogramming_schiebinger()
to allow downloading the subsetted data. This includes the transition matrix computed with thecellrank.external.WOTKernel
. #890Updates kernels/estimators
__str__/__repr__
and allows for better method chaining. #896Allow passing connectivities for transition matrix projection. Useful when the kernel is not kNN-based. #930
Bugfixes¶
Fix
cellrank.external.kernels.WOTKernel
saving OTModel and being unable to pickle itself. #748Fix when associating term/macro states assignment when reference is not categorical string. #750
Fix color creating in
cellrank.tl.kernels.ExperimentalTimeKernel
. #784Fix all q-values being NaN if 1 p-value was NaN. Also warn and set to NaN instead of raise when correlations are not in
[0, 1]]
interval. #835Do not save enums in
anndata.AnnData
. #842Fix
cellrank.tl.Lineage
subsetting (non-existent overlapping keys) and refactor the implementation. #861Adds references to the docs #887
Fix computing time to absorption to aggregated terminal states. #923
Fix initial/terminal points size in random walk. #929
This adapts some of our docs for the 2.0 release; it clears up the landing page and introduces some new pages, including the “teams”, “how to cite us”, and “about cellrank” pages. #936
This just adds a new concept figure to be used in the updated docs. #937
Update to the overview figure #938
Import
Iterable
fromcollections.abc
and notcollections
.Iterable
was removed fromcollections
in Python 3.10 #943Require
Python >= 3.8
and fixcellrank.pl.log_odds()
colormap type. #949Allow NaN values when determining foreground/background color. #951
Fix sparse array conversion in
networkx>=3.0
. #978Removes default value for
time_key
. #989Fix cluster subsetting in
cellrank.pl.aggregate_absorption_probabilities()
andmode = 'violin'
. #1007Fix not being able to save
AnnData
afterCytoTRACEKernel
was run. #1019Fix not passing
allow_overlap
in some places. #1020Very minor fix to adapt the allowed options in macrostate plotting. #1029
Fix
adjustText
modifying data in-place. #1034Adds a reference for Hhex #1035
Fix lineage color map in
cellrank.pl.gene_trends()
. #1043
Miscellaneous¶
Ignore
pygam
deprecation warnings. #798Fix PETSc/SLEPc in CI for Linux. For now, macOS PETSc/SLEPc remains disabled. #850
Remove default real-time and pseudotime arguments from
cellrank.kernels.ExperimentalTimeKernel
andcellrank.kernels.PseudotimeKernel
. #894Fix not being able to use
minChi
incellrank.estimators.GPCCA.fit()
. Also compute 20 Schur vectors by default. #913Prefer plotting macrostates/terminal in a discrete way. #914
Use
", "
instead of" or "
when joining states. #954Use
rpy2
’s local converter. #1008TODO. #1040