ShobiStassen / VIA

trajectory inference
https://pyvia.readthedocs.io/en/latest/
MIT License
76 stars 20 forks source link

sum of lineage probability #33

Open wangjiawen2013 opened 1 year ago

wangjiawen2013 commented 1 year ago

Hi, The sum of branch probability given Palantir equals 1. It's accord with the principle of statistics. while I find the sum of branch probability given by VIA don't eqaul 1, how to interpret this probability ? image

ShobiStassen commented 1 year ago

Hi, at the cluster level the probabilities given in Via will sum to 1 across the rows. (Like what you see in palantir) However after computing the single cell probabilities, we column normalise the values so that probabilities for rare lineages can also be better visually examined. This is useful for rare lineages that are very rarely arrived at but for which we still want to see pathways. I can later next week when I'm backalso add an attribute so that the non normalized single cell prob can be extracted as an attribute

On Mon, 19 Dec 2022, 19:21 jiawen wang, @.***> wrote:

Hi, The sum of branch probability given Palantir equals 1. It's accord with the principle of statistics. while I find the sum of branch probability given by VIA don't eqaul 1, how to interpret this probability ? [image: image] https://user-images.githubusercontent.com/29703450/208403495-356ff105-583b-46ef-9f1d-de25628eda27.png

— Reply to this email directly, view it on GitHub https://github.com/ShobiStassen/VIA/issues/33, or unsubscribe https://github.com/notifications/unsubscribe-auth/AISI4SBSSNBTDNM3ODOMIATWOAZLDANCNFSM6AAAAAATDF7FSY . You are receiving this because you are subscribed to this thread.Message ID: @.***>