make_venn_combn_df | R Documentation |
Make full Venn combination data.frame
make_venn_combn_df(x, include_zero = FALSE, sep = "&", ...)
x |
either character vector of set names, or integer number of sets. |
include_zero |
logical indicating whether to include one row with all zeros, in the event of counting factors where some factor levels may not be present in any sets. |
sep |
character separator used when combining set names into a single label. |
... |
additional arguments are ignored. |
This function returns a data.frame
with all possible
combinations of set overlaps for the number of sets
provided.
data.frame
where rownames indicate each possible
Venn overlap, colnames indicate each set name, and values
are 0
or 1
indicating whether each set should have
a value in each row.
Other venndir utility:
curate_venn_labels()
,
expand_range()
,
make_color_contrast()
,
make_venn_test()
,
match_list()
,
nudge_venndir_label()
,
print_color_df()
,
shrink_df()
,
three_point_angle()
,
venndir_legender()
,
venndir_to_df()
make_venn_combn_df(3);
make_venn_combn_df(3, include_zero=TRUE);
make_venn_combn_df(letters[1:3]);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.