zcang / COMMOT

MIT License
75 stars 13 forks source link

How to set 'dis_thr ' correctly? #4

Closed CenviaTZC closed 1 year ago

CenviaTZC commented 1 year ago

Hi , When I use 'ct.tl.spatial_communication', I noticed that your description of ‘dis_thr’ in the tutorial is 'The threshold of spatial distance of signaling.', but I don't understand what the units of this number are, is it the number of cells? Or um? And how do I set an appropriate distance for my organization? According to the max area?

zcang commented 1 year ago

Hi, the distance threshold takes the same unit as the spatial coordinates stored in adata.obsm['spatial'].