Online Venn diagram generator where I can paste text files containing gene name lists to get the diagram
1
0
Entering edit mode
ratto • 0
@f5c683c1
Last seen 15 months ago
United Kingdom

Hi all,I'm trying to find an online tool in order to produce a Venn diagram. I haven't had much success with 'R' but I am open to any suggestions :) I have two text files containing gene name lists;preferably, I want to be able to simply paste these text files and then have a Venn diagram appear. Does such an online tool exist? Or can this be done with 'R?' Any help would be much appreciated.

Venndiagram files text • 752 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 8 hours ago
United States

This support site is intended to help people with questions about Bioconductor tools, rather than as a sort of open ended question answering service. Generally you will do better using something like Google for that sort of thing, assuming you use a well crafted search.

However, it's simple enough to do what you want. Assume you have two files, each containing gene names (you do say that, yes?). Further assume they are newline separated and contain a single gene name per line. Also assume they are called 'File1.txt' and 'File2.txt'.

## load relevant library
> library(gplots)
## read the files into a list, using the scan function
> flst <- lapply(c("File1.txt","File2.txt"), scan, what = "c")
## use the venn function from gplots to make the diagram
> venn(flst)
## you can add names that will be included in the Venn diagram
> names(flst) <- c("Name 1","Name 2")
> venn(flst)
ADD COMMENT
0
Entering edit mode

Oh sorry I didn't realise, I thought this was more of a general site . Thank you so much though,I'll try that now.

ADD REPLY

Login before adding your answer.

Traffic: 659 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6