dpeerlab / Palantir

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

Entropy is 0 in every cell #149

Closed wbrett87 closed 3 months ago

wbrett87 commented 3 months ago

Hello!

When I plot palantir_entropy I get 0 entropy across all the cells in my dataset. What am I doing wrong?

katosh commented 3 months ago

This can happen, e.g., if there is only one cell fate. Since, the cell-fate probability distribution is the same for all cells (1 for the only existing fate) the entropy for this distribution is constant as well.