[BioC] venn diagrams

Thomas Girke thomas.girke at ucr.edu
Sat Jun 5 21:15:45 CEST 2010


Your have to turn your sets into vectors objects first. You 
could do this in one step with readLines 

A <- readLines("A.file")

or after read.delim() you would convert the resulting data frames to
vectors like this:

A <- read.delim ("A.file")
A <- as.character(as.matrix(A))

Thomas

On Sat, Jun 05, 2010 at 11:50:34AM -0700, David Lyon wrote:
> Thanks for your efforts Steffen.
> 
> If anyone knows exactly how to get this working I would be appreciative:
> 
> 
> 
> 
> eg:
> library(gplots)
> A <- read.delim ("A.file")
> B <- read.delim ("B.file")
> C <- read.delim ("C.file")
> input<-list(A,B,C)
> venn(input)
> 
> its returns the venn 
> diagram from only the first row from each file , how do I change the 
> code so it uses every data point in each column.
> 
> 
> Thanks
> 
> 
> 
> contents 
> of A.file
> 1
> 2
> 3
> 4
> 
> contents of B.file
> 1
> 2
> 3
> 4
> 
> contents of C.file
> 1
> 2
> 3
> 4
> 
> 
> 
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
>



More information about the Bioconductor mailing list