Releases: dpeerlab/Palantir
Releases · dpeerlab/Palantir
v1.4.4
v1.4.3
- Avoid warning about coloring in
plot_trajectories - Fix: forward
eigvec_keyto fallback method inearly_cell() - Performance optimizations (thanks to @svdrecbd for PR #176):
- Faster max-min waypoint sampling: O(N·K²) → O(N·K)
- PCA slicing optimization to avoid redundant recomputation
- Sparse LU solver for absorption probabilities
- Vectorized perspective matrix and Dijkstra shortest paths
- Vectorized Markov chain construction and terminal state detection
- Optional sklearn backend for diffusion kernel (
kernel_backendparameter)
- Fix:
run_pcanow correctly preserves existingX_pcawhen using custompca_key
v1.4.2
- Fix "lightgray" error in
plot_trend - Address pygam incompatibility with newer scipy versions (automatic skip in tests, user warnings)
- Address fcsparser incompatibility with NumPy 2.0 (automatic skip in tests, user warnings)
- Use different joblib backend in Python 3.12+ with joblib < 1.5 to avoid ResourceTracker warnings
- More convenient cell-name handling for integers (e.g., in spatial data) with automatic type conversion
v1.4.1
v1.4.0
- Made pygam an optional dependency that can be installed with
pip install palantir[gam]orpip install palantir[full] - Added proper conditional imports and improved error handling for pygam
- Enhanced
run_magic_imputationto return appropriate data types for different inputs - Updated code to use direct AnnData imports for newer compatibility
- Improved version detection using
importlib.metadatawith graceful fallbacks - Fixed Series indexing deprecation warnings in early cell detection functions
- Expanded and standardized documentation with NumPy-style docstrings throughout the codebase
- Added comprehensive type hints to improve code quality and IDE support
- Remove dependency from
_methods in scanpy for plotting. - add
pseudotime_intervalargument to control path length inpalantir.plot.plot_trajectory
v1.3.6
v1.3.4
v1.3.3
v1.3.2
v1.3.1
- implemented
palantir.plot.plot_statsto plot arbitray cell-wise statistics as x-/y-positions. - reduce memory usgae of
palantir.presults.compute_gene_trends - removed seaborn dependency
- refactor
run_diffusion_mapsto split outcompute_kernelanddiffusion_maps_from_kernel - remove unused dependency
tables