Create a summary of multiple tmod analyses
tmodSummary.Rd
Create a summary of multiple tmod analyses
Usage
tmodSummary(
x,
clust = NULL,
filter.empty = FALSE,
filter.unknown = TRUE,
select = NULL,
effect.col = NULL,
pval.col = "adj.P.Val"
)
Arguments
- x
list, in which each element has been generated with a tmod test function
- clust
whether, in the resulting data frame, the modules should be ordered by clustering them with either q-values ("qval") or the effect size ("effect"). If "sort" or NULL, the modules are sorted alphabetically by their ID. If "keep", then the order of the modules is kept.
- filter.empty
If TRUE, all elements (columns) with no significant enrichment will be removed
- filter.unknown
If TRUE, modules with no annotation will be omitted
- select
a character vector of module IDs to show. If clust == "keep", then in that particular order.
- effect.col
The name of the column with the effect size (if NULL, the default, the effect size will be taken from the tmod results object attributes)
- pval.col
The name of the p-value column
Value
a data frame with a line for each module encountered anywhere in the list x, two columns describing the module (ID and module title), and two columns(effect size and q value) for each element of list x.