enrichment_heatmap: make enrichment heatmap

Description Usage Arguments Value Examples

View source: R/enrichment_heatmap.R

Description

Takes the odd.ratio matrix from enrichment_fisher test. Odd.ratio values are plotted as log(odd.ratio).

Usage

1
enrichment_heatmap(x, tiff_name, my.limit, breaks)

Arguments

x

odd.matrix from enrichment_fisher

tiff_name

file name with .tiff extension

my.limit

limits for color gradient

breaks

a vector with breaks for color gradient

Value

heatmap exported as tiff file. Odd.ratio values are transformed as log(odd.ratio).

Examples

1
2
3
fisher_sigma <- erba::enrichment_fisher(sigma_filtered, kos_sigma, replace_by = 100)
my.odd.matrix <- fisher_sigma[[2]]
enrichment_heatmap(my.odd.matrix, "heatmap.tiff", my.limit = c(-10,10), breaks = seq(from = -10, to = 10, by = 2))

josschavezf/erba documentation built on May 2, 2021, 7:33 a.m.