GOHeat: Make a heatmap showing significance of groups of GO terms...

View source: R/GO.R

GOHeatR Documentation

Make a heatmap showing significance of groups of GO terms from multiple sets of results

Description

Make a heatmap showing significance of groups of GO terms from multiple sets of results

Usage

GOHeat(
  GOresList,
  termList,
  hmcol = colorRampPalette(c("white", "darkblue"))(100),
  width = NA,
  height = NA,
  maxVal = NA,
  minVal = NA,
  NAcol = "darkgrey",
  ret = FALSE
)

Arguments

GOresList

list of GO_GEM results (set returnRes=TRUE) of length >= 2.

termList

named list of character vectors where the names represent the group names for GO terms and vectors contain GO term names corresponding to the 'term_name' column in the GO_GEM results data frams.

hmcol

colorRampPalette of length 100 that will direct the colour palette of the heatmap. Default is colorRampPalette(c("white","darkblue"))(100)

width

numeric indicating the cell width (Default=NA will automatically direct the cell width)

height

numeric indicating the cell height (Default=NA will automatically direct the cell height)

maxVal

numeric indicating the maximum -log10 p-value for the heatmap. Default NA sets it automatically.

minVal

numeric indicating the minimum -log10 p-value (1.3 should be absolute mimum - pvalue 0.05). Can only be set if maxVal is not NA. Default NA sets it automatically.

NAcol

character indicating the colour of NA values in heatmap. Default is "darkgrey"

ret

Boolean indicating if table used for the heatmap (p-values not in -log10) should be returned. Default=FALSE.

Value

A grouped heatmap showing significance of GO terms across analyses as -log10(p-value)


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