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

Population expression plot #67

Open
grst opened this issue May 7, 2024 · 2 comments
Open

Population expression plot #67

grst opened this issue May 7, 2024 · 2 comments

Comments

@grst
Copy link
Collaborator

grst commented May 7, 2024

I really like @quentinblampey's visualzation from scyan and suggest adding it to pytometry. I don't think it would necessarily require a scyan model, would it?

scyan.plot.pop_expressions(model, "Monocytes")

image

@quentinblampey
Copy link
Contributor

Having a Scyan model is quite important because it brings everything to the same scale in the latent space (neg = -1, and pos = 1)
Without it, we would need to define what "pos" means, which can be tricky using only normalization, because we don't have specific values for positivity.
Maybe we can adapt it slightly?

When we find a good solution, I will add it to pytometry!

@quentinblampey
Copy link
Contributor

I think the best alternative for this plot would be to use cumulative distribution functions
For each marker, the bottom would represent 0, and the top would represent the maximum value for this specific marker. Then, each value is displayed according to the empirical cumulative distribution function of the corresponding marker (evaluated at this specific value). That is, the median value of the marker X is in the middle.

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