Learn R Programming

specmine (version 1.0)

set_x_label: Set x-label

Description

Set a new x-label to the dataset.

Usage

set_x_label(dataset, new.x.label)

Arguments

dataset
list representing the dataset from a metabolomics experiment.
new.x.label
string with the x-label.

Value

Returns the dataset with the updated x-label.

Examples

Run this code
  ## Example of setting a new x-label to the dataset
  data(cachexia)
  cachexia = set_x_label(cachexia, "new x-label")

Run the code above in your browser using DataLab