Skip to contents

Use ggplot2 to plot the ecdf for log2 fold changes

Usage

.plot_ecdf(
  res,
  palette = SeedMatchR.palette,
  title,
  legend_labels,
  test_results,
  theme = SeedMatchR.theme,
  x_lims = c(-1, 1),
  output_filename = NULL,
  height = 5,
  width = 5,
  dpi = 300
)

Arguments

res

DE results data.frame.

palette

Palette to use for line colors.

title

Plot tile.

legend_labels

Labels for legend entries.

test_results

Results from the ecdf_stat_test function.

theme

The ggplot2 theme parameters.

x_lims

The x-axis limits for plotting.

output_filename

Optional output filename.

height

Height of output image in inches.

width

Width of output image in inches.

dpi

DPI of output image.

Value

A ggplot of the log2(fold changes) ECDF.

Examples

if (FALSE) { # interactive()
}