Entering edit mode
2.7 years ago
Maryam
▴
10
Hello,
I wanted to ask that I want to create Venn diagram using package Venn Diagram by using my 2 csv files.
Here is my code from website "https://r-graph-gallery.com/14-venn-diagramm.html"
myCol <- brewer.pal(8, "Pastel2")[c(1, 2)]
venn.diagram(
x = list(Batch1, Batch2), category.names = c("Batch1" , "Batch2 "), filename = '#14_venn_diagramm.png', output=TRUE, imagetype="png" , height = 480 , width = 480 , resolution = 300, compression = "lzw", lwd = 2, lty = 'blank', fill = myCol, cat.cex = 0.6, cat.fontface = "bold", cat.default.pos = "outer", cat.pos = c(-50, 50), cat.dist = rep(0.025, 2), cat.fontfamily = "sans")
I don't know why but venn diagram has been created without my data instead there are 2 colorful circles present separately in the image with there titles.
Can someone help?
Yeah I made using the first link but I wanted to learn in R.
The second link is so cool I am going to use that.
Thank you so much