destvi_utils.plot_de_genes

destvi_utils.plot_de_genes(st_adata, key, output_file=None, interesting_genes=None)[source]

Function to plot results of differential expressed genes in a Volcano plot. For further reference check [Lopez22].

Parameters
st_adata

Spatial sequencing dataset with proportions in obsm[‘proportions’]. If not provided uses data in st_model.

key

Key under which results of DE comparison are stored

output_file

File where picture is stored. None means displaying the results and not storing them. Defaults to None.

interesting_genes

Label dots in scatter plots with corresponding gene name. Uses first two genes if None.