Venn diagram in R

# personal notes

library(VennDiagram)
data=list(A=c(1,2,3,4,5,6),B=c(3,4,5,6,7),C=c(5,6,7,8,9,10))    # demo data
venn.diagram(data,”vennFigure.tiff”,fill = c(“cornflowerblue”, “green”, “yellow”))  # venn diagram saved to a file

 

Leave a Reply

Your email address will not be published. Required fields are marked *