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.
I noticed that
anndatamakes some vars categorical. This happens while saving the data to a h5ad file. This causes the following error while plotting the heatmap: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.