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

Dataset curator: violin faceted by columns show an unexpected behaviour #15

Open
2 tasks done
eboileau opened this issue May 12, 2023 · 0 comments
Open
2 tasks done
Assignees

Comments

@eboileau
Copy link
Collaborator

eboileau commented May 12, 2023

Is there an existing issue for this?

  • I checked the documentation and found no answer
  • This bug has not already been reported

A clear and concise description of what the issue is.

Go to dataset curator, select violin, and facet by columns. All facets have their their own y-axis scales (which are not displayed). The figure only shows one y-axis, which appears to be "tied" to the leftmost facet.

e.g. choose

  • Dataset: Pathogenic variants damage cell composition and single-cell transcription in cardiomyopathies (pseudobulk)
  • Display Type: Violin
  • Gene: MYH6
  • x-axis: genotype
  • y-axis: expression
  • Facet Column: celltype

The resulting plot suggests that all cell types have the same expression of MYH6, but hovering over the data, it is clear that e.g. CM have over 25K, while other cell types are mostly below 100. Re-ordering the cell types toggles a change in y-axis.

Output or error messages.

No response

Anything else?

Until this issue is fixed, we just need to be aware that violin faceted by columns can show an unexpected behaviour.
This can be "corrected" by hand on a case by case basis using Y Tick Range. The max range of data can be found by hovering over the plot, and Y Tick Range set manually. For other displays, just reset Y Tick Range to nothing/null.

What browser were you using?

Firefox, Chrome

@eboileau eboileau self-assigned this May 12, 2023
@eboileau eboileau changed the title Dataset curator: violin faceted by columns show an unexpected behaviour<title> Dataset curator: violin faceted by columns show an unexpected behaviour Jun 23, 2023
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

1 participant