Hi everyone, I would like to convert my seurat object to an anndata format and for that I am using the following code
Convert(from = Geissmann_Seurat, to = "anndata", filename = "Seurat_object_for_python.h5ad", chunk.dims = "auto", overwrite = F, display.progress = T)
But I receive the following error:
Error in py_call_impl(callable, dots$args, dots$keywords) :
ValueError: Variables annot.
varmust have number of columns of
X(23169), but has 0 rows.
Is something wrong in my seurat object or does anyone has an idea what can be the source of the problem?