scanpy.pl.filter_genes_dispersion

scanpy.pl.filter_genes_dispersion(result, log=False, show=None, save=None)

Plot dispersions versus means for genes.

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

Parameters
result : recarrayrecarray

Result of filter_genes_dispersion().

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