scviva.pl.vision.plot_vision_de_results#
- scviva.pl.vision.plot_vision_de_results(adata, type=None, var=None, center=0.5, figsize=(3, 10), cmap='coolwarm', cbar=True)[source]#
Plot vision differential expression results.
Shows one-vs-all scores as a heatmap; entries with p-value >= 0.05 are masked and significant entries are marked with
*.- Parameters:
- adata AnnData
AnnData object containing the one-vs-all results for
var:for
type="observations":uns['one_vs_all_obs_cols_{var}_scores']anduns['one_vs_all_obs_cols_{var}_pvals']for
type="signatures":uns['one_vs_all_signatures_{var}_scores']anduns['one_vs_all_signatures_{var}_padj']
- type
Union[Literal['observations'],Literal['signatures'],None] Which differential results to plot. Must be set;
Noneraises aValueError.- var
str Name of the categorical variable the one-vs-all comparison was run on. Must be set;
Noneraises aValueError.- center
float|None Value at which to center the colormap.
- figsize
tuple|None Figure size.
- cmap
str|None Colormap for the heatmap.
- cbar
bool|None Whether to draw a colorbar.