ggven_plot: Make a Tri Venn Diagram Plot

Description Usage Arguments Value Author(s)

View source: R/ggven_plot.R

Description

Make a Tri Venn Diagram Plot

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
ggven_plot(
  data,
  n_cat = 3,
  internal_label = "label",
  external_label = names(data),
  internal_annot_size = 5,
  external_annot_size = 5,
  external_annot_fontface = "bold",
  color = "black",
  fill = NULL,
  size = 1,
  alpha = 0.25
)

Arguments

data

List. A list with values as input.

n_cat

Integer. Indicates the number of categories (i.e. circles) to be drawn.

internal_label

Character scalar. Either "count", "percent" of "label" (both) for internal labels. Default set to "label" (i.e. both).

external_label

Character vector. Main group names (default set to names of the list).

internal_annot_size

Integer. Size for the internal labels.

external_annot_size

Integer. Size for the external labels (main group names).

external_annot_fontface

Character. Desired font face (default set to "bold"). Leave an empty string for none.

color

Character scalar. Contour color.

fill

Character vector. Circle colors.

size

Integer. Contour line size.

alpha

Numeric. Alpha value to circle colors.

Value

Venn Diagram Plot

Author(s)

CainĂ£ Max Couto-Silva


cmcouto-silva/gt documentation built on June 6, 2021, 7:14 p.m.