plotClusBox | R Documentation |
Make a boxplot grouped by gene sets or clusters
plotClusBox(
x,
yax = "Log2FoldChange",
col = "Dark2",
title = "",
style = "box",
showStat = TRUE
)
x |
Data frame or named list of data frames of average gene expression or log2FoldChanges of a subset of genes, where each column is a condition or contrast (in the order you want displayed), and rows are genes. |
yax |
Character indicating the y-axis label of the boxplot. Default="Log2FoldChange". |
col |
Character indicating the RColorBrewer palette name or list of colours (hex, name, rgb()) to be used for the bar plot. Default is "Dark2" |
title |
Character indicating the title of the plot |
style |
Character of either 'box' or 'violin' to change the style of the figure generated. |
showStat |
Boolean indicating if significance of pairwise contrasts within each group should be shown. Default=TRUE |
Boxplot or grouped boxplot and tibble containing statistics from pairwise t-tests.
groups<-gmtHeat(counts, cond, gmt, retGroups=T)
plotClusBox(x=groups, yax="Log2FoldChange", col="Dark2", title="", showStat=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.