Skip to contents

Visualizes overlaps between DEG sets for two to four comparisons.

Usage

get_deg_venn_diagram(
  x,
  sample_comparisons,
  regulation = "Up",
  palette = "Set 2",
  auto_scale = FALSE,
  show_percentage = TRUE,
  ...
)

Arguments

x

A VISTA object.

sample_comparisons

Character vector of 2–4 comparison names to include in the Venn diagram.

regulation

One of "Up", "Down", "Both", or "All" selecting which genes to include.

palette

Qualitative palette name passed to colorspace::qualitative_hcl() for fill colors.

auto_scale

Logical; pass through to ggvenn::ggvenn() to scale circles by size.

show_percentage

Logical; request percentage labels from ggvenn::ggvenn().

...

Additional arguments forwarded to ggvenn::ggvenn().