boxplot_variables: Boxplot of variables

Description Usage Arguments Examples

Description

Boxplot of each variable of the dataset.

Usage

1
2
3
boxplot_variables(dataset, variables = NULL, samples = NULL, 
horizontal = TRUE, col = "lightblue", nchar.label = 10, 
cex.axis = 0.8, ...)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

variables

vector with the variables names or a NULL value indicating all variables.

samples

vector with the samples names or a NULL value indicating all samples.

horizontal

boolean value indicating if the boxplots should be horizontal.

col

string that represents the color of the bodies of the boxplots.

nchar.label

number of characters to display the variables' names.

cex.axis

numeric value that indicates the amount by which the axis is magnified relative to the default.

...

additional parameters of boxplot function.

Examples

1
2
3
4
  ## Example of showing the boxplot of a few variables
  library(specmine.datasets)
  data(cachexia)
  boxplot_variables(cachexia, variables = c("Creatine","Serine","Lactate"))

specmine documentation built on Sept. 21, 2021, 5:06 p.m.