powered by
Extract Venn diagram data table from ggvenn plot
get_venn_table(g)
A data frame containing the Venn diagram intersection data
A ggplot object created by ggvenn()
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