Visualizes the number of differentially expressed genes and/or the distribution of logFC-values per cluster.

examineDeResults(de_df, clrp = "milo", return = "both", binwidth = 10, ...)

Arguments

de_df

A data.frame containing information about differentially expressed genes. Must contain the variables:

gene

Character. The differentially expressed genes.

cluster

Character. The clusters (or experimental groups) across which the analysis was performed.

avg_logFC

Numeric. The average log-fold change to which the belonging gene was differentially expressed..

p_val

Numeric. The p-values.

p_val_adj

Numeric. The adjusted p-values.

Hint: Use the resulting data.frame of SPATA::findDE() or it's descendants as input.

return

Character value. Denotes what to plot. One of 'both', 'n_genes' and 'd_logFC'

...

Additional parameters given to ggplot2::facet_wrap()

Value

Returns a ggplot-object that can be additionally customized according to the rules of the ggplot2-framework.