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
fill color
label of the axis
list, Compute cumulative proportion options
Color of point
Color if set size is empty
Size of the point
Size of the name
Color of the grid
Size of the line connecting association
color of the line connecting association
vector of labels of each set name or function(lab) to get set label from set name
reorder 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.