Venn2Plot.st: Venn diagrams for two lists of genes.

Description Usage Arguments Details Value Author(s)

View source: R/Venn2Plot.st.R

Description

Function to make Venn diagrams from two vectors containing gene symbols or gene ids. Results are shown in a plot, and the lists of genes corresponding to each region can be obtained.

Usage

1
Venn2Plot.st(list1, list2, listNames, filename, Table1, Table2, img.fmt = "pdf", ColName = "GeneSymbol", resDir = NULL)

Arguments

list1

First vector of genes to compare in the Venn diagram.

list2

Second vector of genes to compare in the Venn diagram.

listNames

Vector with the names of list1 and list2.

filename

Name of the output files.

Table1

Table with gene information in list1.

Table2

Table with gene information in list2.

img.fmt

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

ColName

Name of the column containing gene symbols and common in Table1 and Table2.

resDir

Results directory path.

Details

Function to make venn diagrams with the comparisons of two vectors and to make a .xlsx file with the common genes. Each sheet contains common genes selected in different tables.

Value

Venn diagram plot in .pdf format and a .xlsx file with common genes.

Author(s)

Magdalena Arnal Segura <marnal@imim.es>


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