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
Sorry about this @pdichiaro I've opened a PR to fix these issues. Another thing to note is that when saving as a anndata file the filename must end in ".h5" so matrix.save_anndata('expression_matrix2.h5') will work after my changes land.
After target assignment I created an expression matrix (a 2-dimensional cells x genes tensor).
I need to save it for the following usage with single-cell analysis software packages but ExpressionMatrix methods return these kinds of errors.
matrix.save('expression_matrix')
DataArray.name or Dataset key must be either a string or None for serialization to netCDF files
matrix.save_loom('expression_matrix1')
invalid indexer array, does not have integer dtype: array(<Axes.X: 'x'>, dtype=object)
matrix.save_anndata('expression_matrix2')
invalid indexer array, does not have integer dtype: array(<Axes.X: 'x'>, dtype=object)
The text was updated successfully, but these errors were encountered: