scverse / mudata

Multimodal Data (.h5mu) implementation for Python
https://mudata.rtfd.io
BSD 3-Clause "New" or "Revised" License
72 stars 16 forks source link

Interface to get tensors from MuData #38

Open gtca opened 1 year ago

gtca commented 1 year ago

Downstream applications that use count matrices or embeddings from multiple modalities frequently operate on tensors. For instance, in the current muon.tl.mofa() interface, there is a way to use or discard observations that are present only in some modalities.

We could consider refactoring that code and implementing these strategies (e.g. obs union with missing data or imputation, obs intersection) as part of the data loader that will make it accessible for all the downstream applications.