[R] Venn diagram

Adaikalavan Ramasamy ramasamy at cancer.org.uk
Thu May 31 16:10:37 CEST 2007


I cannot find the venn package (searched the author's page and googled) 
despite some posts referring to it, so I cannot help you. But I can 
suggest you check out the varpart in vegan package, vennDiagram in limma 
package or http://finzi.psych.upenn.edu/R/Rhelp02a/archive/14637.html

Regards, Adai



Nina Hubner wrote:
> Hello,
> 
>  
> 
> I am a total beginner with “R” and found a package “venn” to 
> create a venn diagram. 
> 
> The problem is, I cannot create the vectors required for the diagram.
> 
> The manual say:
> "R> venn(accession, libname, main = "All samples")
> where accession was a vector containing the codes identifying 
> the RNA sequences, and libname was a vector containing the codes 
> identifying the tissue sample (library)."
> 
> 
> The structure of my data is as follows:
> 
>  
> 
> R>   structure(list(cyto = c("A", “B”, “C”, “D”), nuc = c(“A”, “B”, “E”, “”),
> chrom = c(“B”, “F”, “”, “”)),.Names = c("cyto", "Nuc", "chrom"))
> 
> 
> accession should be "A", "B",.... and libname schould be "cyto", 
> "nuc" and "chrom" as I understand it...
> 
> 
> Could you help me?
> 
>  
> 
> Sorry, that might be a very simple question, but I am a total beginner 
> as said before! The question has already been asked, but unfortunately 
> there was no answer...
> 
>  
> 
> Thank you a lot,
> 
> Nina Hubner
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 
>



More information about the R-help mailing list