gsea.results | R Documentation |
Using FGSEA, DESeq2 results, and input pathways, compute GSEA results.
gsea.results(results, pathways = NULL, weightmethod = NULL, onlypos = NULL)
results |
dataframe with column names similar to the output of DESeq2::results() function, with columns labeleld "log2FoldChange" and "pvalue" |
pathways |
list of character vectors containing gene names in same format as results; each list element's name should be the name of the pathway |
weightmethod |
one of "pvalue" or "foldchange". how to weight the results results. Default is "pvalue" |
onlypos |
T/F. whether to use only positive log fold change genes. Default is False. |
a list with two elements; 1, a dataframe with FGSEA results; 2, a list of character vectors showing the leading edge genes for each pathway
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.