decideTests
, using the
ReportingTools package.vennSelect2(fit, contrast, design, groups = NULL, cols = NULL,
p.value = 0.05, lfc = 0, method = "same", adj.meth = "BH",
titleadd = NULL, fileadd = NULL, baseUrl = ".",
reportDirectory = "./venns", affy = TRUE, probecol = "PROBEID", ...)
makeContrasts
NULL
, all columns will be used.decideTests
.TRUE
, what is the column header
for the Affymetrix probeset IDs? Defaults to "PROBEID", which is the default if
the data are annotated using a Bioconductor annotation package.HTMLReport
objects
from the ReportingTools package, which can be used to create an index page
with links to the HTML pages created by this function. See the help page for
HTMLReport in ReportingTools as well as the vignettes for more information.
The second item is a vennCounts
object from limma, which can be used
to create a Venn diagram, e.g., in a report if this function is called
within a Sweave or knitR pipeline.decideTests
as well as the direction of differential
expression.Some important things to note: First, the names of the HTML and text tables
are extracted from the colnames
of the TestResults
object,
which come from the contrasts matrix, so it is important to use something
descriptive. Second, the method argument is analogous to the include
argument from vennCounts
or
vennDiagram
. Choosing "both" will select genes
that are differentially expressed in one or more comparisons, regardless of
direction. Choosing "up" or "down" will select genes that are only
differentially expressed in one direction. Choosing "same" will select genes
that are differentially expressed in the same direction. Choosing "sameup"
or "samedown" will select genes that are differentially expressed in the
same direction as well as 'up' or 'down'.
Note that this is different than sequentially choosing "up" and then "down". For instance, a gene that is upregulated in one comparison and downregulated in another comparison will be listed in the intersection of those two comparisons if "both" is chosen, it will be listed in only one comparison for both the "up" and "down" methods, and it will be listed in the union (e.g., not selected) if "same" is chosen.
Unlike vennSelect
, this function automatically creates both HTML and
CSV output files.