Venn5Plot: Venn diagrams for five tables of genes.

Description Usage Arguments Details Value Author(s)

View source: R/Venn5Plot.R

Description

Function to make Venn diagrams from five tables containing the columns with array ids or gene symbols, ideally both of them. Results are shown in a plot, and the lists of genes corresponding to each region can be obtained.

Usage

1
2
Venn5Plot(list.1,list.2,list.3,list.4,list.5,listNames,filename,data4T= NULL,
           img.fmt = "pdf", mkExcel = TRUE,colnmes= "Symbol", CatCex=0.8, CatDist=rep(0.1, 5))

Arguments

list.1

First list of genes to compare in the Venn diagram. It has to be a data.frame with columns "AffyID" or "Symbol", ideally both of them.

list.2

Second list of genes to compare in the Venn diagram. It has to be a data.frame with columns "AffyID" or "Symbol", ideally both of them.

list.3

Third list of genes to compare in the Venn diagram. It has to be a data.frame with columns "AffyID" or "Symbol", ideally both of them.

list.4

Fourth list of genes to compare in the Venn diagram. It has to be a data.frame with columns "AffyID" or "Symbol", ideally both of them.

list.5

Fifth list of genes to compare in the Venn diagram. It has to be a data.frame with columns "AffyID" or "Symbol", ideally both of them.

listNames

Vector with the names of listG1,listG2,listG3,listG4 and listG5.

filename

Name of the output files.

data4T

Table with the structure of data4Tyers with columns named scaled at the begining.

img.fmt

Default "pdf", if "png" the Venn plot is generated in .png image format.

mkExcel

Logical. If TRUE makes an .xlsx file with the lists of genes corresponding to each region.

colnmes

Column names corresponding to the array IDs and gene symbols in the data frame data4T.

CatCex

Size of the titles in the Venn diagram

CatDist

Distance of the titles with respect to the regions in the Venn diagram.

Details

If the option symbols is TRUE a column with the array ids has to be also provided to the function in order to create a .xlsx file. If the option mkExcel is TRUE a data4T data frame has to be provided and has to have several columns with the name scaled at the beginning of the table.

Value

Venn diagram plot in .pdf format. If the option mkExcel is TRUE an .xlsx file is created where each sheet is a region of the venn diagram.

Author(s)

Magdalena Arnal Segura <marnal@imim.es>


machalen/VennPlots documentation built on Sept. 13, 2020, 3:53 p.m.