Closed ceesu closed 12 months ago
I don't really know why, but I found that I could avoid this error if I deleted the data
slot in RNA assay.
I had converted the object from h5ad to h5seurat using seuratdisk which filled the data
and counts
slot of RNA assay with the same matrix, .X
.
I got the exact same error as #170 when running sctransform v2 on some Seurat objects. I don't know if it might be connected to size of counts in the file object because it seems to only happen for datasets where large counts are not filtered out.
The data I used is from the
.layers['counts']
slot of "Immune_ALL_human.h5ad" from this public dataset collection:Here is the code that gave me the error.
This is the output: