opendvp.plotting.abundance_histograms#
- abundance_histograms(adata, n_cols=4, return_fig=False, **kwargs)#
- Plot histograms of protein abundance for each sample in adata. - Parameters#- adataAnnData
- Annotated data matrix. 
- n_colsint, optional
- Number of columns for the subplots (default = 4). 
- return_figbool, optional
- If True, returns the matplotlib Figure object for further customization. If False, shows the plot. 
- **kwargs
- Additional keyword arguments passed to seaborn.histplot. 
 - Returns:#- figmatplotlib.figure.Figure or None
- The figure object if return_fig is True, otherwise None.