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

Account for altExp when converting SCE to AnnData #115

Open
allyhawkins opened this issue Jul 8, 2022 · 0 comments
Open

Account for altExp when converting SCE to AnnData #115

allyhawkins opened this issue Jul 8, 2022 · 0 comments

Comments

@allyhawkins
Copy link
Member

In the function to convert from SCE to AnnData, any data stored as an altExp will not be converted. It does not appear that AnnData has much functionality for additional multi-omics data, but I did find this tutorial that we could use as a reference. Also see some additional thoughts below regarding ways to handle the multi-omics data.

The one remaining thing that you mentioned in your initial comments was the handling of alt experiments. I agree that it is correct to make that a separate issue, but I wanted to put some thoughts here while I am thinking about it. It looks to me that AnnData can't really handle those at this point except by adding the additional measures as "genes" and then annotating them in the metadata. I don't love that solution, as I think it puts an odd burden on the user to know that the matrix has other data. I think the best solution for now may be to simply output multiple AnnData objects, one for each modality. There is the MuData class which wraps up multiple AnnData objects, but I am not sure how easy the support within R will be, or whether that would really be worth the effort.

Originally posted by @jashapiro in #114 (review)

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