pvalEffectPlot(e, p, pval.thr = 0.01, pval.cutoff = 1e-06, row.labels = NULL, col.labels = NULL, plot.func = NULL, grid = "at", grid.color = "#333333", plot.cex = 1, text.cex = 1, col.labels.style = "top", legend.style = "auto")
Just like a heatmap corresponds to a single numeric matrix, the pvalue / effect plot corresponds to two matrices: one with the effect size, and another one with the p-values. Each cell in the matrix corresponds to the results of a single statistical test.
For example, a number of genes or transcriptional modules might be tested for differential expression or enrichment, respectively, in several conditions.
By default, each test outcome is represented by a dot of varying size and color. Alternatively, a function may be specified with the parameter 'plot.func'. It will be called for each test result to be drawn. The plot.func function must take the following arguments:
For the purposes of drawing a legend, the function must accept NULL p-value or a NULL enrichment parameter.