I like to draw a Venn diagram plot for my dataset but I couldn't do it. I can do it with other packages like Vennerable
or VennDiagram
, but I do not know how I can make a list of data as INPUT for venn
R packages?
Data:
Names = c("A", "B", "C", "D", "E")
Intersect = c(`00000`= 0, `10000` = 1534, `01000` = 600, `00100` = 189978, `00010` = 2000,`00001` = 2750,
`11000` = 9,`10100` = 1278, `10010` = 109, `10001` = 1,`01100` = 810, `01010` = 28, `01001` = 22, `00110` = 2343, `00101` = 1169, `00011` = 8, `11100` = 9, `11010` = 3, `11001` = 0,
`10110` = 99, `10101` = 0, `10011` = 0, `01110` = 49, `01101` = 25, `01011` = 0, `00111` = 4, `11110` = 3, `11101` = 0, `11011` = 0, `10111` = 0, `01111` = 0, `11111` = 0)
Please use the formatting bar (especially the
code
option) to present your post better. You can use backticks for inline code (`text` becomestext
), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.Personally, i prefer to use online tools such as interactiveen or genevenn in order to build a venn diagram. Do you already tried it?
another alternative: http://bioinformatics.psb.ugent.be/webtools/Venn/
would you please let me know how can I use this tool? I have bed files contain genomic coordinates, and when I upload them this tool only give me the total number related to each beb file.
some times I have more than 5-6 datasets, so the online tools are not useful in that case, and I think the interactiveen tool also use Vennerable packages for drawing.
Interactiven is able toe draw from 2 to 6 datasets.
you are right, but it uses Vennerable packages that is not as fancy as venn package is.
Have you tried the examples from the documentation before using it in your data? If they work, then try to use the same format for your data.