upset_plot: Plot UpSet diagram from tidy UpSet data.frame

View source: R/upsetplot.R

upset_plotR Documentation

Plot UpSet diagram from tidy UpSet data.frame

Description

Plot UpSet diagram from tidy UpSet data.frame

Usage

upset_plot(
  df,
  n_intersections = 15,
  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

df

A data.frame produced from upset_dataframe

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.