boxplot_vars_factor: Boxplot of variables with metadata's variable factors

Description Usage Arguments Examples

View source: R/graphics.R

Description

Boxplot of variables with metadata's variable factors from the dataset.

Usage

1
2
3
boxplot_vars_factor(dataset, meta.var, variables = NULL, 
samples = NULL, horizontal = FALSE, nchar.label = 10, col = NULL, 
vec.par = NULL, cex.axis = 0.8, ylabs = NULL, ...)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

meta.var

metadata's variable.

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.

nchar.label

number of characters to display the variables' names.

col

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

vec.par

vector with the disposition of the boxplots (rows, columns).

cex.axis

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

ylabs

y-axis labels.

...

additional parameters of boxplot function.

Examples

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

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