render_venndir | R Documentation |
Render venndir output
render_venndir(
venndir_output = NULL,
expand_fraction = 0,
font_cex = 1,
main = NULL,
item_cex = NULL,
item_cex_factor = 1,
plot_warning = TRUE,
show_labels = NULL,
show_items = c(NA, "none", "sign item", "item", "sign"),
item_degrees = 0,
max_items = 100,
show_zero = TRUE,
show_segments = TRUE,
segment_buffer = -0.1,
label_preset = c("none"),
label_style = c("custom", "basic", "fill", "shaded", "shaded_box", "lite", "lite_box"),
fontfamily = "Arial",
inside_percent_threshold = 0,
item_style = c("default", "text", "gridtext"),
item_buffer = -0.15,
group_labels = TRUE,
template = NULL,
adjust_center = FALSE,
draw_legend = TRUE,
legend_x = "bottomright",
legend_font_cex = 1,
show_label = NA,
display_counts = TRUE,
do_newpage = TRUE,
do_draw = TRUE,
draw_buffer = FALSE,
verbose = FALSE,
...
)
venndir_output |
|
expand_fraction |
|
font_cex |
|
main |
|
item_cex |
|
item_cex_factor |
|
plot_warning |
|
show_labels |
The label types are defined below:
|
show_items |
|
item_degrees |
|
max_items |
|
show_zero |
|
show_segments |
|
segment_buffer |
|
label_preset |
|
label_style |
|
fontfamily |
|
inside_percent_threshold |
|
item_style |
|
item_buffer |
|
group_labels |
|
template |
|
adjust_center |
|
draw_legend |
|
legend_x |
|
legend_font_cex |
|
do_newpage |
|
do_draw |
|
verbose |
|
... |
additional arguments are passed to internal functions. |
Venndir
object with attributes that contain underlying
grid
graphical objects (grobs):
"gtree"
: a grid::gTree
object suitable for drawing
with grid::grid.draw(attr(vo, "gtre"))
"grob_list"
: a list
of grid
object components used to build
the complete diagram, they can be plotted individually, or
assembled with do.call(grid::gList, grob_list)
.
The grid::gList
can be assembled into a gTree
with:
grid::grobTree(gList=do.call(grid::gList, grob_list)
"viewport"
: the grid::viewport
that holds important context
for the graphical objects, specifically the use of coordinate
grid::unit
measure "snpc"
, which maintains a fixed aspect ratio.
Other venndir core:
signed_overlaps()
,
textvenn()
,
venn_meme()
,
venndir()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.