decoupler.plot_volcano

decoupler.plot_volcano(logFCs, pvals, name, contrast, net, top=5, source='source', target='target', weight='weight', sign_thr=0.05, lFCs_thr=0.5, figsize=(7, 5), dpi=100)

Plot logFC and p-values of a selected source by a specific contrast.

Parameters:
logFCsDataFrame

Data-frame of logFCs (contrasts x features).

pvalsDataFrame

Data-frame of p-values (contrasts x features).

namestr

Name of the source to plot.

contraststr

Name of the contrast (row) to plot.

netDataFrame

Network dataframe.

topint

Number of top differentially expressed features.

sourcestr

Column name in net with source nodes.

targetstr

Column name in net with target nodes.

weightstr

Column name in net with weights.

sign_thrfloat

Significance threshold for p-values.

lFCs_thrfloat

Significance threshold for logFCs.

figsizetuple

Figure size.

dpiint

DPI resolution of figure.