affy (version 1.50.0)

venn4Way: 4-way Venn Diagrams

Description

A function to create a 4-way Venn diagram

Usage

venn4Way(fit, contrast, p.value, lfc, adj.meth, baseUrl = ".",
  reportDirectory = "./venns", ...)

Arguments

fit
An MArrayLM object, created by the limma package.
contrast
A contrasts matrix, used by limma to generate the comparisons made.
p.value
A p-value cutoff for significance
lfc
A log fold change cutoff
adj.meth
The method used to adjust for multiple comparisons.
baseUrl
The base directory for the tables generated. Defaults to ".", meaning the current directory.
reportDirectory
The directory in which to put the results. Defaults to a "venns" subdirectory.
...
Allows arbitrary arguments to be passed to lower level functions

Value

  • Returns a list. The first item is a (list of) HTMLReportRef objects that can be used by ReportingTools to create HTML links. The second item is the output from the venn function in gtools, and the third item is the name of the contrasts used to generate the Venn diagram.

Details

This function is an internal function and not really intended to be called by the end user. It is generally called by the vennPage function. The goal is to create a 4-way Venn diagram in an HTML page with clickable links to tables of the genes found in a given cell. In addition, the numbers in each cell are underlined with colored bars that help end users tell what contrasts are captured by that cell.