dpeerlab / Palantir

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

Refactor run_diffusion_maps #120

Closed katosh closed 1 year ago

katosh commented 1 year 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.