seurat-disk
seurat-disk copied to clipboard
Failure in SaveH5Seurat
When trying to save a Seurat object using the SaveH5Seurat function it fails with the error:
Error in guess_dtype(x = x, ...) : unknown type
Calls: SaveProject ... BasicWrite -> <Anonymous> -> GuessDType -> guess_dtype
It happens because I added an instance of some other object (for example a glnment
classifier object or a clusterProfiler
result object) to the misc
slot of the Seurat object . I can of course save these objects/results as separate RDS files but I think it is nice to be able to have it as part of the object - especially since using SeuratDisk we can specify what to load and what not.
Is it possible to add this feature? And perhaps objects of different not h5 supported types to just store in some binary/other representation similar to what would have happened if saved using saveRDS
?
Thanks, Gilad Green
Hi, I'm having the same issue. May i know have you figured it out?
I am having the same issue
I am having the same issue
I gaved up and used scanpy
to make another single-cell transcriptome data rather than using seurat
and Saveh5seurat
Anyone figured out a solution?
I am having the same issue