p.matrix.Rd
You might want a matrix of pvalues (or FDRs) for the gene sets across all GSEA methods you tried. I think I did, once, so here it is.
p.matrix( x, names = resultNames(x), pcol = c("padj", "padj.by.collection", "pval") )
x | A |
---|---|
names | the entries from |
pval | Are we testing pvalues or adjusted pvalues? |
A matrix of the desired pvalues for all genesets
# vm <- exampleExpressionSet(do.voom=TRUE) # gdb <- exampleGeneSetDb() # mg <- multiGSEA(gdb, vm, vm$design, 'tumor', methods=c('cameraPR')) mg <- exampleMultiGSEAResult() pm <- p.matrix(mg)