p.matrix {sparrow} | R Documentation |
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 |
pcol |
The name of the column in |
A matrix of the desired pvalues for all genesets
mg <- exampleSparrowResult() pm <- p.matrix(mg)