Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added embedding layers not showing #218

Open
ShuonanChen opened this issue Dec 2, 2024 · 0 comments
Open

added embedding layers not showing #218

ShuonanChen opened this issue Dec 2, 2024 · 0 comments

Comments

@ShuonanChen
Copy link

Short description: I used scanpy to craete umap and pca obsm embeddings to my data but these are not recognized in cirrocumulus when loaded (as shown in the screenshot). Could you suggest why this could happen?

Long description:
Initially the data was stored as Seurate object in rds file. When I convert this into h5ad, the umap from seurat shows fine. However when I load this h5ad into python and re-run the analysis (pca, umap, etc) these embeddings are not added and the original Seurat umap result is also gone. This is how I read and write the h5ad files

adata = sc.read_h5ad('data_directory/file.h5ad')
## ...... run scanpy umap and pca analsyis, ......
print(adata.obsm) # this would show `AxisArrays with keys: X_pca, X_umap`
adata.write_h5ad('/mytarget_directory/tempfile.h5ad')

Thanks in advance!

Screenshot 2024-12-02 at 11 15 37 AM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant