Skip to content

Simplify spatial plots by hexagonal binning #12

@rcannood

Description

@rcannood

Rendering individual data points is the most likely reason why the report is crashing on some systems:

Image

Instead, we should hexagonally bin the cells and compute a few statistics:

  • (Mean, Min, Q25, Q50, Q75, Max) of each of the cell rna QC statistic
  • Number of cells in the bin
  • Percentage of cells (# post-filter / # pre-filter)

Settings

Similar to the histogram plot, we should be able to change the number of horizontal, vertical bin:

Image

However let's implement the settings panel after we've confirmed that the hex binning works

Results

Image

At the end of the file, we should see the hex bin plot with the percentage of cells

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions