Open jahilton opened 7 months ago
Qian Li (ql312@cam.ac.uk) asked: When looking at the expression of a certain gene, is it possible (better) to place cells with expression of this gene on top of those without expression on the UMAP (like what Scanpy does)?
Thanks for flagging this, @jahilton !
Do you happen to have a screenshot of what it looks like and perhaps how to reproduce 🙏 ? That'll help us plan a solution!
Thanks so much!
Try this dataset - flip to pca embeddings (as it crowds the obs more than umap/tsne) - search for Gene CLIC3 & plot by that expression...
Download the same Dataset & plot in scanpy...
You'll see in scanpy there's a high expression streak that isn't visible in CELLxGENE because those obs are underneath obs with low CLIC3 expression.
Oh amazing! This is super helpful 💡 Thanks so much for the screenshots and explanation, @jahilton 🙏 !!
A quick search seems to suggest that to make sure higher expression dots come out on top, we just need to paint them last in the UI. So that'd be a direction eng team can investigate 😄
Mostly just thinking about performance implication, because to do so, we'd need to sort the data points and we could have > 1M data points. However, we could also overcome the issue by pre-sorting that in the BE 👍
Is your feature request related to a problem? Please describe. A contributor plotted known marker genes for their Dataset and did not see the pattern of high expression in the areas they expected (actually didn't see high expression anywhere). This is because the sorted order of obs just so happened to be that the observations with the higher expression for that gene were not visible in Explorer because they were buried under other observations.
Describe the solution you'd like The contributor offered 2 solutions: