Description Usage Arguments Examples
Boxplot of variables with metadata's variable factors from the dataset.
1 2 3 |
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. |
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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.