Open HaikuoLi opened 3 years ago
I have the same issue.
+1
# read in seurat object: cds
cds <- readRDS("Path-to-Your-Rds.rds")
sceasy::convertFormat(cds, from="seurat", to="anndata",
outFile='XXX.h5ad')
# read in seurat object: cds cds <- readRDS("Path-to-Your-Rds.rds") sceasy::convertFormat(cds, from="seurat", to="anndata", outFile='XXX.h5ad')
Really Thank You, that's helpful. While I use a path string as input
Hello!
I got this error when trying to convert seurat to Anndata. Any thoughts?
sceasy::convertFormat('XXX.rds', from="seurat", to="anndata", outFile='XXX.h5ad')
Error in compareVersion(as.character(obj@version), "3.0.0") : trying to get slot "version" from an object of a basic class ("character") with no slots
Thank you in advance!