Converting from AnnData to Seurat via h5Seurat. Help! #8091
-
|
Hi! I have some issues with in converting .h5ad file in the h5seurat one. I downloaded a dataset from cellxgene (https://cellxgene.cziscience.com/collections/6f6d381a-7701-4781-935c-db10d30de293) but I have errors when I load the converted seurat object. I used this code: Adding X as data Adding raw/X as counts Adding meta.features from raw/var Adding X_scanvi_emb as cell embeddings for scanvi_emb Adding X_umap as cell embeddings for umap Adding batch_condition to miscellaneous data Adding default_embedding to miscellaneous data Adding schema_version to miscellaneous data Adding title to miscellaneous data Adding layer soupX as data in assay soupX Adding layer soupX as counts in assay soupX lung <- LoadH5Seurat("e4eeabe8-9852-48ef-ab5b-568c64634766.h5seurat", misc=F) Initializing RNA with data Warning message in sparseMatrix(i = x[["indices"]][] + 1, p = x[["indptr"]][], x = x[["data"]][], :
It created the .h5seurat file but I am not able to load in the environment. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
following |
Beta Was this translation helpful? Give feedback.
-
|
Check out https://github.com/denvercal1234GitHub/anndata_Seurat_Utilities and see if it helps your specific case? |
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