Function plotting information about missing & zero values on the indicated matrix.
plot_na_heatmap(dat)
Arguments
dat: The matrix or data.frame
Returns
Plot with a central heatmap and two histogram on the sides
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.
Examples
library(graphics)library(MiMIR)#load the metabolites datasetmetabolic_measures <- synthetic_metabolic_dataset
#Plot the missing values in the metabolomics matrixplot_na_heatmap(metabolic_measures)