Description Usage Arguments Value Examples
View source: R/enrichment_heatmap.R
Takes the odd.ratio matrix from enrichment_fisher test. Odd.ratio values are plotted as log(odd.ratio).
1 | enrichment_heatmap(x, tiff_name, my.limit, breaks)
|
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 |
heatmap exported as tiff file. Odd.ratio values are transformed as log(odd.ratio).
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))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.