Description Usage Arguments Value Examples
This is a generic function.When implemented as the S4 method for objects of class GSCA, this function plots figures of the positions of genes of the gene set in the ranked gene list and the location of the enrichment score for top significant gene sets.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
object |
A GSCA object. |
gscs |
A character vector specifying the names of gene set collections whose top significant gene sets will be plotted. |
ntop |
A single integer or numeric value specifying how many gene sets of top significance will be plotted. |
allSig |
A single logical value. If 'TRUE', all significant gene sets (GSEA adjusted p-value < 'pValueCutoff' of slot 'para') will be plotted; otherwise, only top 'ntop' gene sets will be plotted. |
filepath |
A single character value specifying where to store GSEA figures. |
output |
A single character value specifying the format of output image: "pdf" or "png". |
ES.range |
A numeric vector for user-defined range of enrichment score showing in the top part of GSEA plot. Default is the range of actual enrichment score of result. However, users are also allowed to set by themselves for better comparison with other GSEA plots. |
rankMetric.range |
A numeric vector for user-defined range of ranked gene lists showing in the bottom part of GSEA plot. Default is the range of actual ranked gene lists of result. However, users are also allowed to set by themselves for better comparison with other GSEA plots. |
pheno.title |
A charater vector for user-defined phenotype names. Default is c("Positive", "Negative"). |
ESline.col |
The color to be used for enrichment score profile line. Defaults to "FireBrick". |
hits.col |
The color to be used for hits line to show the position of hits. Defaults to "CadetBlue". |
rankMetric.col |
The color to be used for ranked metric line. Defaults to "CadetBlue". |
... |
Other arguments used by the function png or pdf such as 'width' and 'height' |
In the end, this function would plot GSEA figure and store them into the specified path.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.