This function generate a upset plot by creating a composite plot which contains subplots generated by ggplot2.
plot_upset(
venn,
nintersects = NULL,
order.intersect.by = c("size", "name", "none"),
order.set.by = c("size", "name", "none"),
relative_height = 3,
relative_width = 0.3,
top.bar.color = "grey30",
top.bar.y.label = NULL,
top.bar.show.numbers = TRUE,
top.bar.numbers.size = 3,
sets.bar.color = "grey30",
sets.bar.show.numbers = FALSE,
sets.bar.x.label = "Set Size",
intersection.matrix.color = "grey30",
specific = TRUE,
...
)
a class Venn object
number of intersects. If NULL, all intersections will show.
'size', 'name', or "none"
'size', 'name', or "none"
the relative height of top panel in upset plot
the relative width of left panel in upset plot
default is "grey30"
default is NULL
default is TRUE
text size of numbers
default is "grey30"
default is FALSE
default is "Set Size"
default is "grey30"
whether only include specific items in subsets, default is TRUE.
useless
an upset plot