Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare absolute cell_abundance in two different visium sample is allowed? #396

Open
erganzi90 opened this issue Dec 11, 2024 · 1 comment
Labels
FAQ question Further information is requested

Comments

@erganzi90
Copy link

Thanks for this briliant job, cell2location team.
10X visium sample1: colorectal cancer, celltype_A abundance A1
10X visium sample2: colorectal cancer, celltype_A abundance A2
If two sample has the same hyperparameters [N_cells_per_location and detection_alpha], can I compare A1 with A2 directly? Or just compare their proportion?

@erganzi90 erganzi90 added the enhancement New feature or request label Dec 11, 2024
@vitkl
Copy link
Contributor

vitkl commented Jan 28, 2025

Hi @erganzi90

to compare you need to run cell2location on both samples together - otherwise, the analysis regresses out differences between them. This applies to both comparing absolute values and proportions.

We did condition comparisons in the Nanostring hackathon https://github.com/vitkl/SpaceJam and unpublished COVID work. It helps to have some way to assess replication such as several ROIs within each sample rather than comparing averages across all locations in the sample.

Differential analysis is also likely better with segmentation priors #344 (comment).

@vitkl vitkl added question Further information is requested FAQ and removed enhancement New feature or request labels Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FAQ question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants