decoupler.plot_psbulk_samples
- decoupler.plot_psbulk_samples(adata, groupby, figsize=(5, 5), dpi=100, ax=None, return_fig=False, save=None, **kwargs)
Quality Control plot to assess the quality of the obtained pseudobulk samples.
- Parameters:
- adataAnnData
AnnData obtained after running
decoupler.get_pseudobulk
.- groupbystr, list
Name of the
.obs
column to group by. Can also be a list of columns.- figsizetuple
Figure size.
- dpiint
DPI resolution of figure.
- axAxes, None
A matplotlib axes object. If None returns new figure.
- return_figbool
Whether to return a Figure object or not.
- savestr, None
Path to where to save the plot. Infer the filetype if ending on {
.pdf
,.png
,.svg
}.- kwargsdict
Other keyword arguments are passed through to seaborn.scatterplot().
- Returns:
- figFigure, None
If return_fig, returns Figure object.