You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The python backend is fairly aggressive on converting the annotation columns to categorial if possible. Probably need to force the type to numeric (or integer) if the number of levels is > than some small number.
Good zeroing in on the fact that the filtering might be reducing the total number of represented categories. I think that eventually we will want to create all the coloring (maps for categoricals, functions for numeric) and categorical as entries in the config table generated in ingest. That will provide safety for the filtering creating incomplete categories.
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: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.
The text was updated successfully, but these errors were encountered: