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

obs and obsm in input h5ad Data #9

Open
ibimanji opened this issue Jul 6, 2024 · 2 comments
Open

obs and obsm in input h5ad Data #9

ibimanji opened this issue Jul 6, 2024 · 2 comments

Comments

@ibimanji
Copy link

ibimanji commented Jul 6, 2024

I found that your input h5ad data has coordinates in both obs and obsm. Are they both necessary? What is the difference between the x, y coordinates in obs and obsm? I think the cell location is described in obs, so what does the location in obsm mean?

@longyahui
Copy link
Collaborator

Hi,

Thanks for your questions.

The coordinates in obs and obsm are the same and are necessary, as our model is a graph-based method that considers adjacent relationships between cells to learn cell embeddings. Putting coordinates in obsm is to make graph construction and visualization more convenient. Hope it helps.

Best regards,
Yahui

@ibimanji
Copy link
Author

Thank you very much for your response. What I am very confused about is that the input obs and obsm information are not the same. For example, in the tutorial2 you provided, I printed the obs and obsm for both modalities of the Dataset3_Mouse_thymus1 dataset as follows. They don’t appear to be the same. Could you please explain what kind of processing was done?
截屏2024-07-10 13 34 59
截屏2024-07-10 13 34 54
截屏2024-07-10 13 34 47
截屏2024-07-10 13 34 39

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

2 participants