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 or normalized variance versus means for genes.

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

Parameters
adata

Result of highly_variable_genes().

log : boolbool (default: False)

Plot on logarithmic axes.

show : bool | NoneOptional[bool] (default: None)

Show the plot, do not return axis.

save : str | bool | NoneUnion[str, bool, None] (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'}}.