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

Suggestion: Link embeddings from transposed table #9

Open
StaffanBetner opened this issue Oct 7, 2019 · 2 comments
Open

Suggestion: Link embeddings from transposed table #9

StaffanBetner opened this issue Oct 7, 2019 · 2 comments

Comments

@StaffanBetner
Copy link

Let say I have e.g. a matrix where I have individuals (cells e.g.) as rows and features as columns, and then run a UMAP on both the ordinary matrix, and the transposed one. Then it would be natural to want to look at the individual UMAP with the default usage (the distances to other individuals), but it would also be interesting to see the features for that individual (and vice versa).

Is it clear what I mean?

@simon-anders
Copy link
Contributor

Yes, implementing this has been on our to-do list since quite a while.

My idea was to make it such that the two UMAPs are displayed side by side: to the left, the panel with the cells UMAP, to the right, the one of the genes UMAP. If the mouse hovers over a point on the left (i.e., a cell), the other points in the left panel are coloured according to their distance to the cell under the mouse cursor (i.e., the usual Sleepwalk behaviour), while the points on the right-hand panel (the genes) are coloured according to the strength of expression of the gene in the cell under the mouse.

If one moves the mouse to the right panel, the roles flip: the right panel is coloured according to the gene's correlation with the gene under the mouse (Sleepwalk style), and the left panel shows the expression of the gene under the cursor in each cell.

Should be quickly done; I hope we soon find the time to try it.

@StaffanBetner
Copy link
Author

Fun to hear that other people have had the same idea!

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