venn diagram in R
1
0
Entering edit mode
Anthony Bosco ▴ 500
@anthony-bosco-517
Last seen 10.3 years ago
Hi, could someone tell me how to plot a venn diagram in R of text strings. Regards Anthony -- ______________________________________________ Anthony Bosco - PhD Student Institute for Child Health Research (Company Limited by Guarantee ACN 009 278 755) Subiaco, Western Australia, 6008 Ph 61 8 9489 , Fax 61 8 9489 7700 email anthonyb@ichr.uwa.edu.au
• 2.6k views
ADD COMMENT
0
Entering edit mode
@arnemulleraventiscom-466
Last seen 10.3 years ago
What do you mean by "text strings", the leafs of the diagram labeled with text strings? you need to use library(cluster) d <- dist(intensity.matrix) plot(hclust(d), hang=-0.5) The colum names of your intensity.matrix will be used for lables. intensity.matrix is a matrix returned by exprs(eset). regards, Arne -- Arne Muller, Ph.D. Toxicogenomics, Aventis Pharma arne dot muller domain=aventis com > -----Original Message----- > From: bioconductor-bounces@stat.math.ethz.ch > [mailto:bioconductor-bounces@stat.math.ethz.ch]On Behalf Of Anthony > Bosco > Sent: 28 April 2004 03:57 > To: bioconductor@stat.math.ethz.ch > Subject: [BioC] venn diagram in R > > > Hi, > > could someone tell me how to plot a venn diagram in R of text strings. > > > Regards > > > Anthony > -- > ______________________________________________ > > Anthony Bosco - PhD Student > > Institute for Child Health Research > (Company Limited by Guarantee ACN 009 278 755) > Subiaco, Western Australia, 6008 > > Ph 61 8 9489 , Fax 61 8 9489 7700 > email anthonyb@ichr.uwa.edu.au > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor >
ADD COMMENT
0
Entering edit mode
Dear Anthony, I think Arne's code will give you a dendrogram. I am not sure what you mean of text strings. Limma has a venn diagram module. library(limma) example(vennDiagram) Also I came across another posting on the R newsgroup, http://maths.newcastle.edu.au/~rking/R/help/03a/1115.html which gave code for creating Venn diagrams from TRUE/FALSE lists. Hope one of these help, Aedin Culhane -----Original Message----- From: bioconductor-bounces@stat.math.ethz.ch [mailto:bioconductor-bounces@stat.math.ethz.ch]On Behalf Of Arne.Muller@aventis.com Sent: 28 April 2004 09:00 To: bioconductor@stat.math.ethz.ch; anthonyb@ichr.uwa.edu.au Subject: RE: [BioC] venn diagram in R What do you mean by "text strings", the leafs of the diagram labeled with text strings? you need to use library(cluster) d <- dist(intensity.matrix) plot(hclust(d), hang=-0.5) The colum names of your intensity.matrix will be used for lables. intensity.matrix is a matrix returned by exprs(eset). regards, Arne -- Arne Muller, Ph.D. Toxicogenomics, Aventis Pharma arne dot muller domain=aventis com > -----Original Message----- > From: bioconductor-bounces@stat.math.ethz.ch > [mailto:bioconductor-bounces@stat.math.ethz.ch]On Behalf Of Anthony > Bosco > Sent: 28 April 2004 03:57 > To: bioconductor@stat.math.ethz.ch > Subject: [BioC] venn diagram in R > > > Hi, > > could someone tell me how to plot a venn diagram in R of text strings. > > > Regards > > > Anthony > -- > ______________________________________________ > > Anthony Bosco - PhD Student > > Institute for Child Health Research > (Company Limited by Guarantee ACN 009 278 755) > Subiaco, Western Australia, 6008 > > Ph 61 8 9489 , Fax 61 8 9489 7700 > email anthonyb@ichr.uwa.edu.au > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor > _______________________________________________ Bioconductor mailing list Bioconductor@stat.math.ethz.ch https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor
ADD REPLY
0
Entering edit mode
Hi. At our department we have made a small vennDiagram script. I am not sure if it suites your needs, but if you have vectors with text strings, for example: A <- c("test", "example", "common") B <- c("anything", "else", "common") C <- c("unique", "R", "Bioconductor") unique(A)->A unique(B)->B unique(C)->C vennDIA(A, B, C) (which is the function that is provided in this mail). Good luck. Marcus Ph.D. Web : http://www.biotech.kth.se/molbio/microarray/index.html -----Original Message----- From: bioconductor-bounces@stat.math.ethz.ch [mailto:bioconductor-bounces@stat.math.ethz.ch] On Behalf Of Arne.Muller@aventis.com Sent: Wednesday, April 28, 2004 10:00 AM To: bioconductor@stat.math.ethz.ch; anthonyb@ichr.uwa.edu.au Subject: RE: [BioC] venn diagram in R What do you mean by "text strings", the leafs of the diagram labeled with text strings? you need to use library(cluster) d <- dist(intensity.matrix) plot(hclust(d), hang=-0.5) The colum names of your intensity.matrix will be used for lables. intensity.matrix is a matrix returned by exprs(eset). regards, Arne -- Arne Muller, Ph.D. Toxicogenomics, Aventis Pharma arne dot muller domain=aventis com > -----Original Message----- > From: bioconductor-bounces@stat.math.ethz.ch > [mailto:bioconductor-bounces@stat.math.ethz.ch]On Behalf Of Anthony > Bosco > Sent: 28 April 2004 03:57 > To: bioconductor@stat.math.ethz.ch > Subject: [BioC] venn diagram in R > > > Hi, > > could someone tell me how to plot a venn diagram in R of text strings. > > > Regards > > > Anthony > -- > ______________________________________________ > > Anthony Bosco - PhD Student > > Institute for Child Health Research > (Company Limited by Guarantee ACN 009 278 755) > Subiaco, Western Australia, 6008 > > Ph 61 8 9489 , Fax 61 8 9489 7700 > email anthonyb@ichr.uwa.edu.au > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor > _______________________________________________ Bioconductor mailing list Bioconductor@stat.math.ethz.ch https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor -------------- next part -------------- A non-text attachment was scrubbed... Name: vennDIA Type: application/octet-stream Size: 4414 bytes Desc: not available Url : https://www.stat.math.ethz.ch/pipermail/bioconductor/attachments /20040428/ee5261bb/vennDIA-0001.obj
ADD REPLY

Login before adding your answer.

Traffic: 497 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