Open ys910111 opened 1 year ago
I had the same issue. One of the attribute in the seurat object seems to be a NULL or not an expected data type. I couldn't figure out which slot/attribute that was but I needed only the counts slot to be converted to anndata. So, I just created a new seurat object with just the counts of old seurat object. zebra_n<-CreateSeuratObject(counts=zebra@assays$RNA@counts, assay = "RNA", meta.data = zebra@meta.data). Now, everything works!!
Originally posted by @ys910111 in https://github.com/mojaveazure/seurat-disk/issues/27#issuecomment-1794203232