heatPlot: Heatmap-like functional classification

Description Usage Arguments Value Examples

View source: R/heatPlot.R

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

1
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

1
2
3
4
5
6
7
# loading enrichdemo and CeTFdemo object
data(enrichdemo)
data(CeTFdemo)

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

CeTF documentation built on Nov. 25, 2020, 2 a.m.