New Features
- Enable an AnnData-centric workflow for improved usability and interoperability with other single-cell analysis tools.
- Introduced new utility functions
palantir.utils.early_cellTo automate fining an early cell based on cell type and diffusion components.palantir.utils.find_terminal_statesTo automate finding terminal cell states based on cell type and diffusion components.palantir.presults.select_branch_cellsTo find cells associated to each branch based on fate probability.palantir.plot.plot_branch_selectionTo inspect the cell to branch association.palantir.utils.run_local_variabilityTo compute local gene expression variability.palantir.utils.run_densityA wrapper for mellon.DensityEstimator.palantir.utils.run_density_evaluationEvaluate computed density on a different dataset.palantir.utils.run_low_density_variability. To aggregate local gene expression variability in low density.palantir.plot.plot_branch. To plot branch-selected cells over pseudotime in arbitrary y-postion and coloring.palantir.plot.plot_trend. To plot the gene trend ontop ofpalantir.plot.plot_branch.
- Added input validation for better error handling and improved user experience.
- Expanded documentation within docstrings, providing additional clarity for users and developers.
Enhancements
- Updated tutorial notebook to reflect the new workflow, guiding users through the updated processes.
- Implemented gene trend computation using Mellon, providing more robust and efficient gene trend analysis.
- Enable annotation in
palantir.plot.highight_cells_on_umap.
Changes
- Replaced PhenoGraph dependency with
scanpy.tl.leidenfor gene trend clustering. - Deprecated the
run_tsne,determine_cell_clusters, andplot_cell_clustersfunctions. Use corresponding implementations from Scanpy, widely used single-cell analysis library and direct dependecy of Palantir. - Rename
palantir.plot.highight_cells_on_tsnetopalantir.plot.highight_cells_on_umap - Depend on
anndata>=0.8.0to avoid issues writing dataframes inad.obsm.
Fixes
- Addressed the issue of variability when reproducing results (issue#64), enhancing the reproducibility and reliability of Palantir.