muon.atac.pl.fragment_histogram#

muon.atac.pl.fragment_histogram(data: Union[anndata._core.anndata.AnnData, mudata._core.mudata.MuData], region: str = 'chr1-1-2000000', groupby: Optional[str] = None, barcodes: Optional[str] = None)#

Plot Histogram of Fragment lengths within specified region. :param data: AnnData object with peak counts or multimodal MuData object with ‘atac’ modality. :param region: Region to plot. Specified with the format chr1:1-2000000 or`chr1-1-2000000`. :param groupby: Column name(s) of .obs slot of the AnnData object according to which the plot is split. :param barcodes: Column name of .obs slot of the AnnData object

with barcodes corresponding to the ones in the fragments file.