muon.atac.tl.locate_file#
- muon.atac.tl.locate_file(data: AnnData | 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).