ventolab / CellphoneDB

CellPhoneDB can be used to search for a particular ligand/receptor, or interrogate your own HUMAN single-cell transcriptomics data.
https://www.cellphonedb.org/
MIT License
322 stars 51 forks source link

Getting results only for specific cell type/cluster #72

Closed AvitalPo closed 10 months ago

AvitalPo commented 1 year ago

Hi,

Thanks for the great tool! I'm wondering if there is a way to get only specific cell type/cluster interaction with all the other cell type/clusters? I know I can filter the output tables, but I'm wondering if there is a way to save computation time and not calculate them at all? Will it interfere with the statistics?

For example, I have 25 clusters (0-24), and only 5 of them are of interest (for example, 0-4). All the others are not relevant (for example, the interactions between clusters 25 and 23 are not important for my analysis).

Hope that my question is clear. Thanks!

luzgaral commented 1 year ago

Hi,

Apologies, we missed this issue.

You can restrict interacting cell type pairs using the microenvironments file. In this way, only pairs sharing a same microenvironment will be tested.

Hope this helps,

Luz