Description Usage Arguments Details Value Author(s) See Also Examples
This function selects the top scoring (most significant) gene sets for each directionality class and produces a heatmap plot of the results.
1 2 3 | GSAheatmap(gsaRes, cutoff = 5, adjusted = FALSE, ncharLabel = 25,
cellnote = "pvalue", columnnames = "full", colorkey = TRUE,
colorgrad = NULL, cex = NULL)
|
gsaRes |
an object of class |
cutoff |
an integer n, so that the top n gene sets (plus possible ties) in each directionality class will be included in the heatmap. |
adjusted |
a logical, whether to use adjusted p-values or not. Note
that if |
ncharLabel |
the number of characters to include in the row labels. |
cellnote |
a character string selecting the information to be printed
inside each cell of the heatmap. Either |
columnnames |
either |
colorkey |
a logical (default |
colorgrad |
a character vector giving the color names to use in the heatmap. |
cex |
a numeric, to control the text size. |
This function selects the top significant gene sets in each directionality
class and draws a heatmap of the results. It provides a quick summary
alternative to the GSAsummaryTable
function or the
networkPlot
.
A list, returned invisibly, containing the matrix of p-values (adjusted or non-adjusted depending on the settings) as represented in the heatmap as well as the matrix of corresponding ranks and the matrix of number of genes in each gene set (inlcuding the subset of up and down regulated genes for the mixed directional classes).
Leif Varemo piano.rpkg@gmail.com and Intawat Nookaew piano.rpkg@gmail.com
piano, runGSA
,
GSAsummaryTable
, networkPlot2
, exploreGSAres
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Load example input data to GSA:
data("gsa_input")
# Load gene set collection:
gsc <- loadGSC(gsa_input$gsc)
# Run gene set analysis:
gsares <- runGSA(geneLevelStats=gsa_input$pvals , directions=gsa_input$directions,
gsc=gsc, nPerm=500)
# Make heatmap:
dev.new(width=10,height=10)
GSAheatmap(gsares)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.