heatPlot: Heatmap-like functional classification

View source: R/heatPlot.R

heatPlotR Documentation

Heatmap-like functional classification

Description

Heatmap-like functional classification to visualize the enrichment analysis results from getEnrich function. The plot contains the heatmap with the associated pathways genes, the significance of the enrichment and a barplot with the enrichment ratio.

Usage

heatPlot(res, diff, showCategory = 10, font_size = 6)

Arguments

res

A dataframe with getEnrich results.

diff

A dataframe with all differentialy expressed genes obtained from runAnalysis function. For better understanding, simply use the getDE accessor with 'all' option.

showCategory

Number of enriched terms to display (default: 10).

font_size

Size of gene row names (default: 6).

Value

Returns a Heatmap-like functional classification

Examples

# loading enrichdemo and CeTFdemo object
data(enrichdemo)
data(CeTFdemo)

heatPlot(res = enrichdemo$results, 
         diff = getDE(CeTFdemo, 'all'), 
         showCategory = 10)


cbiagii/CeTF documentation built on Feb. 1, 2023, 3:19 p.m.