upset_plot | R Documentation |
re-implementation of the graph to separate association computation and vizualization
upset_plot(
data,
sets,
n.max = 40,
point_size = 3,
name_size_scale = 1,
title = NULL,
subtitle = NULL,
caption = NULL,
opts = list()
)
data |
data.frame() with data for each sets |
sets |
list of column names for each variable in sets |
n.max |
number of top obs to keep, (all if na) |
point_size |
size of point in intersection plot |
name_size_scale |
scale of labels size in intersection plot |
title |
title of the plot |
subtitle |
subtitle of the plot |
caption |
caption of the plot |
opts |
options for freq plot |
General options : - theme: add the theme to the plot - freq: frequency plot option - matrix: matrix plot option
bar.color
bar.fillfill color
labellabel of the axis
proplist, Compute cumulative proportion options
point.colorColor of point
point.emptyColor if set size is empty
point.sizeSize of the point
name.sizeSize of the name
grid.colorColor of the grid
line.sizeSize of the line connecting association
line.colorcolor of the line connecting association
set.labelsvector of labels of each set name or function(lab) to get set label from set name
order.freqreorder set list by frequency
Other upset:
apply_binary_mask()
,
create_binary_groups()
,
create_binary_mask()
,
get_labels_from_binary()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.