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

Not stable sorting by columns #24

Open
curlup opened this issue Nov 18, 2020 · 3 comments
Open

Not stable sorting by columns #24

curlup opened this issue Nov 18, 2020 · 3 comments

Comments

@curlup
Copy link

curlup commented Nov 18, 2020

Say I want to sort columns by two categories.
Usual way to do that in a grid is to sort by one, then sort by the second one.
If the sort is stable, this will result in columns sorted by the second category, but within cols with the same second category, they should remain sorted by the first category.

Seem that it's not the case for morpheus, which limits ad-hoc analysis that can be performed.

Steps to reproduce:

  • taken https://software.broadinstitute.org/morpheus/
  • select "Preloaded Datasets"
  • select "Acute Myeloid Leukemia (LAML)"
  • "GENE Expression" -> "Open"
  • in the zoom menu "Fit Columns To Window"
  • click "mRNAseq_cluster" column category to sort by.
  • now click "gender" to sort by.

Expected: two groups by gender (it is) and within each of them sorted by "mRNAseq_cluster" (same order if mRNAseq_cluster in both gender groups).
Observed: mRNAseq_cluster order is scrambled.

@curlup
Copy link
Author

curlup commented Nov 18, 2020

Screen Shot 2020-11-18 at 4 05 34 PM

@joshua-gould
Copy link
Collaborator

It looks like you're only sorting by gender in your screenshot. Please shift-click to add an additional sort field. You should then see an arrow when a 2 superscript next to the secondary sort field.

@curlup
Copy link
Author

curlup commented Nov 22, 2020

That works, thanks!!

Shift-clink'ing was not obvious I guess. I would suggest considering assigning that behavior to regular clicking.
But anyways thanks again!

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