get_venn_shapes | R Documentation |
Get Venn shapes
get_venn_shapes(
counts,
proportional = FALSE,
sep = "&",
circles_only = FALSE,
circle_nudge = NULL,
rotate_degrees = 0,
...
)
counts |
|
proportional |
|
sep |
|
circles_only |
|
circle_nudge |
|
rotate_degrees |
|
... |
additional arguments are ignored. |
This function takes a Venn overlap counts and creates corresponding circles or ellipses that represent either a Venn diagram, or proportional Venn (Euler) diagram.
For non-proportional Venn diagrams, this function accepts up to 5 sets, although the 5-way Venn diagram is not visually intuitive.
For proportional Euler diagrams, this function simply passes
the count vector to eulerr::euler()
and returns the output.
That function accepts more sets, however not all overlaps may
be represented in the output.
Other venndir utility:
curate_venn_labels()
,
expand_range()
,
gridtext_make_outer_box()
,
gridtext_richtext_grob()
,
make_color_contrast()
,
make_venn_combn_df()
,
make_venn_test()
,
match_list()
,
nudge_venndir_label()
,
print_color_df()
,
shrink_df()
,
three_point_angle()
,
venndir_label_style()
,
venndir_legender()
,
venndir_to_df()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.