multi_hist function

multi_hist

multi_hist

#' Function to plot the histograms for all the variables in dat

multi_hist(dat, color = MiMIR::c21, scaled = FALSE)

Arguments

  • dat: data.frame or matrix with the variables to plot
  • color: colors selected for all the variables
  • scaled: logical to z-scale the variables

Returns

plotly image with the histograms for all the variables in dat

Examples

library(plotly) library(MiMIR) #load the dataset metabolic_measures <- synthetic_metabolic_dataset multi_hist(metabolic_measures[,MiMIR::metabolites_subsets$MET14], scaled=T)
  • Maintainer: Daniele Bizzarri
  • License: GPL-3
  • Last published: 2024-02-01

Useful links