dpeerlab / Palantir

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

palantir.utils.determine_multiscale_space returns 0 columns #39

Closed csy99 closed 3 years ago

csy99 commented 4 years ago

(1469, 0) is the shape of data returned by the code.

[atac.txt](https://github.com/dpeerlab/Palantir/files/5059399/atac.txt)
// first load data
data = pd.read_csv("atac.txt")
dm_res = palantir.utils.run_diffusion_maps(data, n_components=5)
ms_data = palantir.utils.determine_multiscale_space(dm_res)  # something wrong with shape
ManuSetty commented 4 years ago

We will fix the bug. In the meantime, can you try setting the n_eigs parameter to the number of Eigen vectors which would be desirable.