Plots a pie chart splitting up, down, and no-change for an expression frame. Returns a blank canvas.

ggSignaturePies(results = NULL, padj.threshold = 0.1,
  lfc.threshold = log2(1.5), plot.Same = FALSE, cols = NULL, ids = NULL,
  dat = NULL)

Arguments

results

data.frame of results with `log2FoldChange` and `padj`

padj.threshold

significance threshold for padj values

lfc.threshold

significance threshold for log2FoldChange values

plot.Same

plot the fraction that stays the same

ids

your group ids in order of Down, Same, Up

dat

Provide your own `data.frame` to plot; must have the following: `totals` : counts for each group `by` : ids for each group

colors

your favorite colors in order of Down, Same, Up

Value

`ggplot2` pie chart