BayraktarLab / cell2location

Comprehensive mapping of tissue cell architecture via integrated single cell and spatial transcriptomics (cell2location model)
https://cell2location.readthedocs.io/en/latest/
Apache License 2.0
324 stars 58 forks source link

why w_s,f follow gamma distribution #161

Closed caiquanyou closed 1 year ago

caiquanyou commented 2 years ago

Please use the template below to post a question to https://discourse.scverse.org/c/ecosytem/cell2location/.

Problem

Icannot understand why w_s,f follow gamma distribution ?

vitkl commented 2 years ago

Hi @caiquanyou

Gamma distribution is a prior for w_s,f because it is a distribution over positive real numbers. Does this answer your question? If not please describe exactly what you don't understand.

vitkl commented 1 year ago

I am assuming that this is resolved.