Skip to content

[BUG] jitterSquarePoints is not robust to empty levels in a factor #559

Open

Description

@LTLA

The original context is:

library(scRNAseq)
sce <- BunisHSPCData()

library(iSEE)
iSEE(sce, initial=list(ColumnDataPlot())

where a factor has some unused levels.

The diagnosis is as mentioned in the title. The fix is as simple as using rep() during assignment to summary_data.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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