Description Usage Arguments Value agitated functions References Examples
A lightweight (and reasonably efficient) alternative to the UpSetR package. These plots allow visualisation of an arbitrary number of set interactions (see http://doi.org/gbjxr9).
1 2 3 4 5 6 7 8 9 10 |
x |
A list or presence/absence matrix. |
nsets |
Numeric scalar specifying the maximum number of sets to be shown. |
exclusive |
Logical scalar controlling whether the intersections should be exclusive. |
intersection_order |
Character scalar controlling whether sorting of
intersections is done by |
sort_sets |
Logical scalar controlling whether the input sets are re-ordered based on descending size. |
title, subtitle |
Character scalars specifying plot title and subtitle. |
return_plots |
Logical scalar specifying whether the ggplot2 objects
should be returned directly ( |
If return_plots = TRUE
, the function returns a list of three
ggplot2 objects.
If return_plots = TRUE
,
the function calls plot_grid
on the plot objects.
agitated: produce an upset plot
UpSetR: an R package for the visualization of intersecting sets and their properties Jake R Conway, Alexander Lex, Nils Gehlenborg <doi:10.1093/bioinformatics/btx364>.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.