Venn2Plot.OS: Venn diagrams from two lists of genes.

Description Usage Arguments Details Value Author(s)

View source: R/Venn2Plot.OS.R

Description

Function to make Venn diagrams from two 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
Venn2Plot.OS(listG1, listG2, 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.

listNames

Vector with the names of listG1 and listG2.

filename

Name of the output files.

data4T

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

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