heatmap2: Shannon entropy heatmap

View source: R/heatmap2.R

heatmap2R Documentation

Shannon entropy heatmap

Description

Contingence table heatmap of normalized mutual information theory coefficients with the Chi2 p-value. Studied variables can be binary or quantitative.

Usage

heatmap2(z)

Arguments

z

is the entropy metrics outputs matrix/data frame (computated previously with the loop function) file

Author(s)

Edouard Lansiaux, Philippe Pierre Pébaÿ

Examples

## Entropy outputs coumputation and visualization
### Computation
loop(docs_phenotype_file_1,1,8)
### Visualization on a heatmap
entropy_outputs <- readr::read_csv('entropy_outputs.csv')
heatmap2(entropy_outputs)

edlansiaux/muinther documentation built on Dec. 24, 2024, 4:46 p.m.