ventolab/CellphoneDB

Clarification Needed on --threshold Argument

Closed this issue · 2 comments

Hello,

I have a clarification question about the --threshold argument. The documentation states that it represents a percentage of cells, but in the tutorial, it seems to be treated as a fraction. Could you clarify whether setting the threshold to 0.1 means 0.1% or 10%?

Thank you,
Muhammet

Hi Muhammet,
Thank you for using CellphoneDB.
In https://cellphonedb.readthedocs.io/en/latest/RESULTS-DOCUMENTATION.html#analysis-methods please see the following:

1. all the genes in the interaction are expressed in the corresponding cell type by more than 10% of cells (threshold = 0.1)

That is threshold = 0.1 corresponds to/means 10% of cells. Hope that helps.

Best,

Robert.

Thank you for clearing that up. This resolves the confusion on my side, so I'm closing it now. I appreciate the prompt response.