scimap
scimap copied to clipboard
How can I get the test p value of two groups when comparing the distances between two cell types
Certainly! Here's a revised version of your email:
Dear Developer,
I've been using the sm.pl.spatial_distance function and it's been working seamlessly for comparing distances within groups:
sm.pl.spatial_distance(adata, method='distribution', distance_from='CD8T', distance_to='APCs', phenotype='Label', imageid='group')
However, I'm looking to extract the statistical p-values. More specifically, is there a way to base these calculations on each patient rather than each ImageID?
I apologize for missing this issue. For some reason, I have not been receiving notifications for the issues raised in this channel. Does the issue still persist, and would you need help? Thank you.