Hi All,

I have identified 5 different cell types from a single cell cluster, we have also identified a number of cells present in each condition(i.e. in Normal and Tumor clusters). I wanted to conduct statistical testing of differences in Gini coefficients between tumour and non-malignant compartments across all phenotypic clusters using exact permutation testing. I am unable to conduct this test, Please help me in conducting this test on my cell types. how best i can do this? i am very confused.

Thanks a lot for your kind help.

Stay safe, Dave.

Hi Kevin, Sorry for that not so clear question. I have 5-cell types identified (the excell snapshot is just for the illustration) - B-cell, Myeloid cell, T-cell, Epithelial, Stromal cell. and according to this paper they conducted Statistical comparisons of Gini coefficients across compartments using Wilcoxon signed-rank test with Benjamini-Hochberg correction for multiple testing; statistical testing of differences in Gini coefficients between tumour and non-malignant compartments across all phenotypic clusters was also done by the authors using exact permutation testing. I wanted to conduct the same analysis on my cell types, but I was clueless on how to apply the same test on my data. Can you please help me? The values I am considering is the cell counts(No of cells) in Tumor and normal. Thanks, Dave

It is not readily clear what they did. A Wilcoxon signed rank exact test can be easily performed in R like this:

This test is already doing permutation in order to calculate the exact p-value. If you are unsure, I suggest posting on a a forum dedicated to statistics, or contact the authors of the published work.

Thanks a lot for your help Kevin, so in. my case the inputs would be no of cells in a particular cell type , say CD4-TREG cell count in Normal would be my a=423 ?

I thought that they were comparing Gini coefficients?

why are you doing a paired test here? shouldn't it be the wilcoxon rank sum test instead? you have two independent groups of cells per condition within the cell type cluster.

Dear gt, David_emir said:

So, I said:

Thus, for clarity, you may ask a question to the authors.