destvi_utils.plot_de_genes

destvi_utils.plot_de_genes(st_adata, key, output_file=None, interesting_genes=None, key_spatial='spatial')[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 precomputed de genes using de_genes function.

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.

key_spatial

Obsm key pointing to location of cells.