muon.pl.histogram

Contents

muon.pl.histogram#

muon.pl.histogram(data: AnnData | MuData, keys: str | Sequence[str], groupby: str | None = None, show: bool | None = None, save: str | bool | None = None, **kwags)#

Plot Histogram of Fragment lengths within specified region. :param data: AnnData object with peak counts or multimodal MuData object. :param keys: Keys to plot. :param groupby: Column name(s) of .obs slot of the AnnData object according to which the plot is split. :param show: Show the plot, do not return axis. :param save: If True or a str, save the figure.

A string is appended to the default filename. Infer the filetype if ending on {‘.pdf’, ‘.png’, ‘.svg’}.