View source: R/reportingTools.R
venn4Way | R Documentation |
A function to create a 4-way Venn diagram
venn4Way(
fit,
contrast,
p.value,
lfc,
adj.meth,
baseUrl = ".",
reportDirectory = "./venns",
affy = TRUE,
probecol = "PROBEID",
...
)
fit |
An |
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. |
affy |
Boolean. Set to |
probecol |
The column containing either the Affymetrix probeset IDs (if the affy argument is set to |
... |
Allows arbitrary arguments to be passed to lower level functions |
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.
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.
James W. MacDonald jmacdon@u.washington.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.