Description Usage Arguments Details Value Methods (by class) Author(s)
This function is actually intended to be a sub-function of runRomer
,
but can hypothetically run by itself if the romer
step has
already been done.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | outputRomer(object, fit, ...)
## S4 method for signature 'ExpressionSet,MArrayLM'
outputRomer(
object,
fit,
rsltlst,
genesetlst,
design = NULL,
contrast = NULL,
changenames = TRUE,
dir = "genesets",
explanation = NULL,
baseline.hmap = TRUE,
file = "indexRomer.html",
affy = TRUE,
...
)
## S4 method for signature 'DGEList,DGEGLM'
outputRomer(
object,
fit,
rsltlst,
genesetlst,
design = NULL,
contrast = NULL,
changenames = TRUE,
dir = "genesets",
explanation = NULL,
baseline.hmap = TRUE,
file = "indexRomer.html",
...
)
## S4 method for signature 'EList,MArrayLM'
outputRomer(
object,
fit,
rsltlst,
genesetlst,
design = NULL,
contrast = NULL,
changenames = TRUE,
dir = "genesets",
explanation = NULL,
baseline.hmap = TRUE,
file = "indexRomer.html",
...
)
|
object |
An ExpressionSet, DGEList or EList object containing normalized, summarized gene expression data. |
fit |
An MArrayLM or DGEGLM object, containing the fitted data. |
... |
Arguments to be passed to lower-level functions. See
|
rsltlst |
A list of results, generated by the |
genesetlst |
A list of genesets, usually created by loading in the RData files that can be downloaded from http://bioinf.wehi.edu.au/software/MSigDB/. See details for more information. |
design |
A design matrix describing the model. |
contrast |
A contrast matrix describing the contrasts that were fit. This matrix should have colnames, which will be used to name subdirectories containing results. |
changenames |
Boolean. When creating heatmaps of the gene sets, should
the columns be appended with the colnames from the design matrix? If
|
dir |
Character. The subdirectory to use for the output data. Defaults to 'genesets'. |
explanation |
If |
baseline.hmap |
Boolean. If |
file |
Character. The filename to output. Defaults to indexRomer.html. |
affy |
Boolean. Are these Affymetrix arrays? if |
This function is intended to be an internal function for runRomer
.
However, it is possible that runRomer
errored out after saving the
results from running romer
on a set of contrasts, and all that
remains is to create the output HTML.
Please note that the first two arguments to this function have certain
expectations. The rsltlst should be the output from running
romer
. If using the saved output from runRomer
, one
should first load
the 'romer.Rdata' file, which will introduce a list
object with the name 'romerlst' into the working directory, so the first
argument should be rsltlst = romerlst.
Second, see the code for runRomer, specifically the line that creates the 'sets' object, which will show how to create the correct genesetlst object.
Nothing is returned. The function is run only for the side effect of creating HTML tables with output for each significant gene set.
object = ExpressionSet,fit = MArrayLM
: Output romer results using microarray data
object = DGEList,fit = DGEGLM
: Output romer results using RNA-Seq data processed using edgeR
object = EList,fit = MArrayLM
: Output romer results using RNA-Seq data processed using voom.
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.