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

Incoherent cell positions between different visualization layers ? #16

Open
philmar1 opened this issue Dec 4, 2023 · 4 comments
Open

Comments

@philmar1
Copy link

philmar1 commented Dec 4, 2023

Hello,

I am working on scATACseq and I tried MS Phate. It seems that some of my clusters switch positions for different visualization layers.
I know the ground truth labels of my cells. 4 of them are:

  • intermediate mono
  • CD4+ memory T
  • CD8+ naive T
  • CD4+ naive T

For the upper plots, I use the visualization level 0, i.e each dot represents a cell
For the lower plots, I use a coarser visualization level, i.e each dot represents cells that were merged during the condensation phase.
For each pair of plots within the same column, I try to confirm that cells belonging to the same orange cluster are found in the same region of the associated condensed 2D plot.

As it can be observed, it is not the case. It is very obvious for CD8+ naive and Intermediate mono cells also seem to have moved their position in the 2D plot after condensation

image
image

Is this behavior expected?

Thanks a lot for your help

@mkuchroo
Copy link
Contributor

mkuchroo commented Dec 5, 2023 via email

@philmar1
Copy link
Author

philmar1 commented Dec 6, 2023

Hello Manik,

Thanks for the quick feedback.
Let me try to clarify my question. I expect the clusters to condense around a central point, like a gravitational point. For instance, I expect all points in the upper right corner to condense and stay in the upper right zone of the image. It would be surprising that they condense and end up in the lower left corner zone, am I right?

This is proper behavior is observed in most of the data points, as below:
Capture d’écran 2023-12-06 à 11 23 52

However, for some points, the unexpected behavior appears, such as here:
Capture d’écran 2023-12-06 à 11 26 41

Is the problem more clear now?
Therefore, my question is: is my intuition wrong on how should the points condense? Can it theoretically happen that for instance, points from an upper right zone will condense and end in lower left zone of a 2D plot ?

Thanks a lot for your help, I hope it's easier to understand now

Philippe

@mkuchroo
Copy link
Contributor

mkuchroo commented Dec 6, 2023 via email

@philmar1
Copy link
Author

Hello Manik,

Thanks for you answer ! I believe this behavior may induce to errors and misunderstandings. Indeed, I didn't know that and I first thought that some cells start to emit a signal only when they are aggregated (i.e after condensation). I believe it is important that cells in a specific layer condense in a new layer close to their original location. Therefore, we won't have this phenomenon of flipping or moving positions.

Do you plan to correct for that behavior ?

Thanks again a lot for your time

Philippe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants