bioalpha.singlecell.plotting.highly_variable_genes
- bioalpha.singlecell.plotting.highly_variable_genes(adata_or_result: AnnData | DataFrame | recarray, log: bool = False, show: bool | None = None, save: str | bool | None = None, highly_variable_genes: bool = 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 – Plot on logarithmic axes.
show – Show the plot, do not return axis.
save – 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’}}.