Venn4Plot.OS: Venn diagrams from four lists of genes.

Description Usage Arguments Details Value Author(s)

View source: R/Venn4Plot.OS.R

Description

Function to make Venn diagrams from four vectors of genes. Results are shown in a plot, and the lists of genes corresponding to each region can be obtained with mkExcel in .xlsx format.

Usage

1
Venn4Plot.OS(listG1, listG2, listG3, listG4, listNames, filename, data4T = NULL, mkExcel = TRUE, img.fmt = "pdf")

Arguments

listG1

First vector of genes to compare in the Venn diagram.

listG2

Second vector of genes to compare in the Venn diagram.

listG3

Third vector of genes to compare in the Venn diagram.

listG4

Fourth vector of genes to compare in the Venn diagram.

listNames

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

filename

Name of the output files.

data4T

Data frame with a column named "Symbol" containing gene symbols in listG1, listG2 and listG3.

mkExcel

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

img.fmt

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

Details

Simple function to make venn diagrams with the comparisons of three vectors. If mkExcel is TRUE a data4T object has to be provided with a column named "Symbol" and genes corresponding to each region of the Venndiagram will be listed in a excel file.

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.