Description Usage Arguments Details Value Examples
View source: R/MultiGSEAResult-methods.R
The resultNames
, result
, and results
functions enable
you to explore the results of the analysis run with multiGSEA
.
The results that are stored within a MultiGSEAResult
object have a
more or less 1:1 mapping with the values passed as methods
, parameter
of the multiGSEA()
call.
Generates a table to indicate the number of genesets per collection that
pass a given FDR. The table provides separate groups of rows for each of
the methods
run in the multiGSEA()
call that generated that
generated x
.
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 | resultNames(x)
result(x, ...)
## S3 method for class 'MultiGSEAResult'
result(
x,
name = NULL,
stats.only = FALSE,
rank.by = c("pval", "t", "logFC"),
add.suffix = FALSE,
as.dt = FALSE,
...
)
results(
x,
names = resultNames(x),
stats.only = TRUE,
rank.by = c("pval", "logFC", "t"),
add.suffix = length(names) > 1L,
as.dt = FALSE
)
tabulateResults(
x,
names = resultNames(x),
max.p = 0.2,
p.col = c("padj", "padj.by.collection", "pval"),
as.dt = FALSE
)
|
x |
A |
name |
the names of the results desired |
stats.only |
logical, set to |
rank.by |
the statistic to use to append a |
add.suffix |
If |
names |
the names of the GSEA methods to be reported. By default, this function will display results for all methods. |
max.p |
The maximum padj value to consider a result significant |
p.col |
use padj or padj.by.collection? |
The product of an indivdual GSEA is consumed by the corresponding
do.<METHOD>
function and converted into a data.table of results that
is internally stored.
Use the resultNames()
function to identify which results are available
for interrogation. The result()
function returns the statistics of
one individual result, and the results()
function combines the results
from the specified methods into an arbitrarily wide data.table with
method
-suffixed column names.
Use the tabulateResults()
function to create a summary table that
tallies the number of significant genesets per collection, per method at
the specified FDR thresholds.
a data.table with the results from the requested method.
a data.table that summarizes the significant results per method per collection for the GSEA that was run
1 | ## Refer to the examples in ?multiGSEA
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.