multi_hist: multi_hist

View source: R/predictors_functions.R

multi_histR Documentation

multi_hist

Description

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

Usage

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

Value

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)



DanieleBizzarri/MiMIR documentation built on March 1, 2023, 11:02 p.m.