Venn3Plot: Venn diagrams for three tables of genes.

Description Usage Arguments Details Value Author(s)

View source: R/Venn3Plot.R

Description

Function to make Venn diagrams from three 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
Venn3Plot(listG1, listG2, listG3, listNames, filename, data4T = NULL, symbols = TRUE, mkExcel = TRUE, colnmes = c("AffyID", "Symbol"), img.fmt = "pdf")

Arguments

listG1

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.

listG2

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.

listG3

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.

listNames

Vector with the names of listG1, listG2 and listG3.

filename

Name of the output files.

data4T

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

symbols

Logical. Use symbols instead of AffyID to make plots.

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.

img.fmt

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

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.