scvi_criticism.PPCPlot#
- class scvi_criticism.PPCPlot(ppc)#
Plotting utilities for posterior predictive checks
Methods table#
|
Plot coefficient of variation metrics results. |
|
Plot differential expression results. |
Methods#
- PPCPlot.plot_cv(model_name, cell_wise=True, plt_type='hist2d')#
Plot coefficient of variation metrics results.
See our tutorials for a demonstration of the generated plot along with detailed explanations.
- Parameters:
model_name (
str
) – Name of the modelcell_wise (
bool
(default:True
)) – Whether to plot the cell-wise or gene-wise metricplt_type (
Literal
['scatter'
,'hist2d'
] (default:'hist2d'
)) – The type of plot to generate.
- PPCPlot.plot_diff_exp(model_name, plot_kind, figure_size=None)#
Plot differential expression results.
- Parameters:
model_name (
str
) – Name of the modelvar_gene_names_col – Column name in the
adata.var
attribute containing the gene names, if different fromadata.var_names
figure_size (default:
None
) – Size of the figure to plot. If None, we will use a heuristic to determine the figure size.