Skip to content

error when feature annotation is categorical #119

Description

@ricoderks

I noticed that anndata makes some vars categorical. This happens while saving the data to a h5ad file. This causes the following error while plotting the heatmap:

Warning: Error in <-: 'names' attribute [9] must be the same length as the vector [7]
  [No stack trace available]

It looks like that one of the categories is not going to be plotted. Decreasing the value for filtering the features (VMR) does create the heatmap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions