Closed Rafael-Silva-Oliveira closed 5 months ago
Hi Rafael, Hmm, this does look like a sparse array issue. How did you try to converting it to a dense array? Take a look at the mouse brain loading function for how we do it, https://github.com/Computational-Morphogenomics-Group/MarkerMap/blob/main/src/markermap/utils.py#L1012
So it would be something like load it into adata, then do
adata.X = adata.X.toarray()
This is a common issue though, so I will add some documentation and maybe a helpful error message.
When trying to use the first function to split the data I get this error:
My adata.X is:
Already tried changing todense and toarray and didn't work