maximilianh / cellBrowser

main repo: https://github.com/ucscGenomeBrowser/cellBrowser/ - Python pipeline and Javascript scatter plot library for single-cell datasets, http://cellbrowser.rtfd.org
https://github.com/ucscGenomeBrowser/cellBrowser/
GNU General Public License v3.0
104 stars 40 forks source link

is it possible to compare gene expression of one selected group vs another? #172

Closed inodb closed 3 years ago

inodb commented 4 years ago

e.g. i made these two groups:

Screen Shot 2020-05-01 at 11 48 37 AM

Is it possible to compare expression of a single gene in these two groups. Or only both groups vs all other cells?

maximilianh commented 4 years ago

Argh... most important feature request, but I have so little time...

No right now it only compares between the selection and the rest. If you suggest a good user interface how we could show one selection versus another selection, I'll implement it one day... or you could try...

On Fri, May 1, 2020 at 5:48 PM Ino de Bruijn notifications@github.com wrote:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/maximilianh/cellBrowser/issues/172, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACL4TPIABH3QTYGQDYSIFTRPLVMRANCNFSM4MXFXHOQ .

mxposed commented 4 years ago

A dirty but workable solution, also not very expensive: — add menu items, exclusive to each other: “compare against the rest“ (default on), “compare against custom selection“ — if user selects “compare against custom selection”, then current selection is remembered for the 2nd violin plot generation — to reset, you select “compare against the rest” and previous selection is discarded

What do you think?

mxposed commented 4 years ago

I can try to implement it next week, if you think it's a good idea @maximilianh

maximilianh commented 4 years ago

This is an awesome idea Nikolay! I wanted to write this right away. If you don’t implement it soon, I will. No idea why it never occurred to me...

On Thu 7 May 2020 at 21:08, Nikolay Markov notifications@github.com wrote:

I can try to implement it next week, if you think it's a good idea @maximilianh https://github.com/maximilianh

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/maximilianh/cellBrowser/issues/172#issuecomment-625442262, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACL4TNHLPBCOLHLL5G22SLRQMBJVANCNFSM4MXFXHOQ .

mxposed commented 3 years ago

Should we close this? If anyone has a more elegant solution, I'm happy to work on it.

I am also thinking about violin plot by clusters somewhere…

maximilianh commented 3 years ago

I think we can close this for now. I don't have a more elegant solution. Thanks for adding it!