muon.atac.tl.locate_file#

muon.atac.tl.locate_file(data: Union[anndata._core.anndata.AnnData, mudata._core.mudata.MuData], key: str, file: str)#

Add path to the file to .uns[“files”][key]

The file to be added has to exist.

Parameters
  • data – AnnData object with peak counts or multimodal MuData object with ‘atac’ modality.

  • key – A key to store the file (e.g. ‘fragments’)

  • file – A path to the file (e.g. ./atac_fragments.tsv.gz).