upset_updown_regulated: Plot up/down-regulated genes in one diagram

View source: R/upsetplot.R

upset_updown_regulatedR Documentation

Plot up/down-regulated genes in one diagram

Description

Plot up/down-regulated genes in one diagram

Usage

upset_updown_regulated(
  up_list,
  down_list,
  n_intersections = 15,
  x_expansion = ggplot2::expansion(c(0, 0), c(0.8, 0.8)),
  y_expansion = ggplot2::expansion(c(0, 0.1), c(0, 0)),
  plot_margin = ggplot2::margin(0.5, 0.5, 0.5, 1.5, unit = "cm"),
  ...
)

Arguments

up_list

A list of up-regulated gene sets

down_list

A list of down-regulated gene sets

n_intersections

How many intersections to show.

y_expansion

Expansion for y-axis, see expansion

plot_margin

margin around entire plot (unit with the sizes of the top, right, bottom, and left margins)

...

pass to scale_x_upset


altairwei/rhapsodykit documentation built on Feb. 1, 2023, 8:52 a.m.