plot_na_heatmap {MiMIR} | R Documentation |
plot_na_heatmap
Description
Function plotting information about missing & zero values on the indicated matrix.
Usage
plot_na_heatmap(dat)
Arguments
dat |
The matrix or data.frame |
Details
This heatmap indicates the available values in grey and missing or zeros in white. On the sides two bar plots on the sides, one showing the missingn or zero values per row and another to show the missing or zeroes per column.
Value
Plot with a central heatmap and two histogram on the sides
Examples
library(graphics)
library(MiMIR)
#load the metabolites dataset
metabolic_measures <- synthetic_metabolic_dataset
#Plot the missing values in the metabolomics matrix
plot_na_heatmap(metabolic_measures)
[Package MiMIR version 1.5 Index]