zcang / COMMOT

MIT License
75 stars 13 forks source link

How does commot calculates the number of L-R #31

Open caiquanyou opened 3 months ago

caiquanyou commented 3 months ago

How does commot calculates the number of L-R pairs? which part I should us,or any code for tutorial

zcang commented 3 months ago

Hi, currently we use all LR pairs from the CellChatDB by default. You could also select LR species that are expressed in at least x% of cells/spots, for example, code block 7 here: https://commot.readthedocs.io/en/latest/notebooks/visium-mouse_brain.html#Preprocessing-the-data.

caiquanyou commented 3 months ago

thanks, and For example, I run commot and how could I get total interactive LR pair number of specific cell A and cell B,or any other celltypes