Venn3Plot.csv: Venn diagrams for Three lists of genes.

Description Usage Arguments Details Value Author(s)

View source: R/Venn3Plot.csv.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 with mkExcel (Excel format) and mkCSV (csv format) options.

Usage

1
Venn3Plot.csv(listG1, listG2, listG3, listNames, filename, data4T = NULL, symbols = TRUE, img.fmt = "pdf", mkExcel = TRUE, mkCSV = FALSE, colnmes = c("AffyID", "Symbol"))

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 beggining.

symbols

Logical. Use symbols instead of AffyID to make plots.

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.

mkCSV

Logical. If TRUE makes a .csv file for the genes corresponding to each region.

colnmes

Column names corresponding to the array IDs and gene symbols.

Details

If the option symbols is TRUE a column with the array ids has to be also provided to the function lists in order to create the .csv and .xlsx files and the data4T data frame 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. If the option mkCSV is TRUE several .csv files are created corresponding to each 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.