scanpy.pl.highly_variable_genes

scanpy.pl.highly_variable_genes(adata_or_result, log=False, show=None, save=None, highly_variable_genes=True)

Plot dispersions versus means for genes.

Produces Supp. Fig. 5c of Zheng et al. (2017) and MeanVarPlot() of Seurat.

Parameters
adata : AnnData, np.recarray

Result of highly_variable_genes().

log : bool

Plot on logarithmic axes.

show : bool, optional (default: None)

Show the plot, do not return axis.

save : bool or str, optional (default: None)

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’}}.