Skip to content

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

@eboileau

Description

@eboileau

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions