can't covert anndata to seurat #5907
-
|
Hello, I am trying to convert a GTEx snRNA-seq file stored as AnnaData to seurat, but am having trouble. This is the file: I have loaded the following libraries: I have tried the "Convert" command: Convert("GTEx_8_tissues_snRNAseq_atlas_071421.public_obs.h5ad", dest = "h5seurat", overwrite = TRUE) I get this error: Validating h5Seurat file I have tried loading it into R first: gtex <- ad$read_h5ad("GTEx_8_tissues_snRNAseq_atlas_071421.public_obs.h5ad") This produces another error: Error in UseMethod(generic = "Convert", object = source) : Is there another way or a fix? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
https://github.com/denvercal1234GitHub/anndata_Seurat_Utilities |
Beta Was this translation helpful? Give feedback.
-
|
Th scverse team has released an official R package to perform such conversions. |
Beta Was this translation helpful? Give feedback.
Th scverse team has released an official R package to perform such conversions.
https://github.com/scverse/anndataR