Entering edit mode
Marcus
▴
150
@marcus-410
Last seen 10.3 years ago
Hmm..I forgot.
In our function we use the vennDiagram function which is a part of the
limma package. So U must have that package loaded.
/M
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/eebe2684/vennDIA.obj