Learn R Programming

ggvenn (version 0.1.19)

get_venn_table: Extract Venn diagram data table from ggvenn plot

Description

Extract Venn diagram data table from ggvenn plot

Usage

get_venn_table(g)

Value

A data frame containing the Venn diagram intersection data

Arguments

g

A ggplot object created by ggvenn()

Examples

Run this code
library(ggvenn)
g <- ggvenn(list(A = 1:5, B = 4:9, C = c(2:3, 8:12), D = c(1, 5, 9)))
get_venn_table(g)

Run the code above in your browser using DataLab