nmf_models.utils.load_multiome

load_multiome(file, labels=None)[source]

Function to load multiome data from .h5, .h5ad or .h5mu file types

Parameters:
  • File (str) – Location of multiome dataset. SHould be .h5 (output of cell ranger), h5ad or h5mu

  • labels (str, default None) – Location of cell labels. Should be a tsv file format.

Return type:

muon.MuData object multimodal data contanainer built on anndata