plot_na_heatmap {MiMIR} | R Documentation |
Function plotting information about missing & zero values on the indicated matrix.
plot_na_heatmap(dat)
dat |
The matrix or data.frame |
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.
Plot with a central heatmap and two histogram on the sides
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)