venndir_label_style | R Documentation |
venndir label style
venndir_label_style(
venndir_output,
show_labels = c("Nsc"),
label_preset = c("none", "main inside", "main outside", "outside", "all outside",
"concept", "meme", "items", "main items", "main count items", "custom"),
label_style = c("basic", "box", "fill", "fill_box", "shaded", "shaded_box", "lite",
"lite_box"),
lite = "#FFEEAABB",
bg = "white",
set = c("outside", "inside", "none"),
overlap = c("none", "inside", "outside"),
percent = c("none", "inside", "outside"),
count = c("inside", "outside", "ifneeded", "detect", "none"),
signed = c("inside", "outside", "ifneeded", "detect", "none"),
items = c("none", "inside"),
show_items = c("none"),
max_items = 3000,
inside_percent_threshold = 5,
label_types = c("main", "signed"),
show_zero = TRUE,
sep = "&",
useGrey = 15,
verbose = FALSE,
...
)
label_style |
|
This function applies a label style to venndir()
output,
overwriting the existing label style as necessary.
This function adjusts the label text color for contrast with
make_color_contrast()
, which is useful when positioning
the label on top of dark or bright colors. If the label
is positioned outside the sp
polygons, the text is assumed
to be on a white background, using argument bg
.
Other venndir utility:
curate_venn_labels()
,
expand_range()
,
get_venn_shapes()
,
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_legender()
,
venndir_to_df()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.