dpeerlab / Palantir

Single cell trajectory detection
https://palantir.readthedocs.io
GNU General Public License v2.0
203 stars 45 forks source link

Refactor run_diffusion_maps #120

Closed katosh closed 10 months ago

katosh commented 10 months ago

Refactor run_diffusion_maps to Modularize Kernel Computation and Eigen Decomposition

This commit separates the functionality of run_diffusion_maps into two distinct sub-functions: compute_kernel handles the adaptive anisotropic kernel calculation, while diffusion_maps_from_kernel performs the eigen decomposition for the diffusion maps.