carmonalab / UCell

Gene set scoring for single-cell data
GNU General Public License v3.0
137 stars 16 forks source link

Reporting significance level with the U-Statistic? #12

Closed cnk113 closed 2 years ago

cnk113 commented 2 years ago

Hello,

I was wondering if you can also return the p-value from the Mann-Whitney U test?

Best, Chang

mass-a commented 2 years ago

Hello Chang, I don't think it's a good idea to calculate a p-value for each cell. Instead, I would suggest to compare UCell scores for a given signatures between groups of cells (e.g. unsupervised clusters). If you draw distributions of UCell scores per cluster, you would be able to evaluate if they differ significantly using e.g. a t-test or a KS test.

Best, -m

cnk113 commented 2 years ago

Thanks, your suggestions worked for my case!