plotClusBox: Make a boxplot grouped by gene sets or clusters

plotClusBoxR Documentation

Make a boxplot grouped by gene sets or clusters

Description

Make a boxplot grouped by gene sets or clusters

Usage

plotClusBox(
  x,
  yax = "Log2FoldChange",
  col = "Dark2",
  title = "",
  style = "box",
  showStat = TRUE
)

Arguments

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

Value

Boxplot or grouped boxplot and tibble containing statistics from pairwise t-tests.

Examples

groups<-gmtHeat(counts, cond, gmt, retGroups=T)
plotClusBox(x=groups, yax="Log2FoldChange", col="Dark2", title="", showStat=TRUE)

kevincjnixon/BinfTools documentation built on July 10, 2024, 11:46 a.m.