scimap icon indicating copy to clipboard operation
scimap copied to clipboard

How can I get the test p value of two groups when comparing the distances between two cell types

Open sailseem opened this issue 1 year ago • 1 comments

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?

sailseem avatar Sep 14 '23 08:09 sailseem

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.

ajitjohnson avatar Dec 23 '23 03:12 ajitjohnson