set_x_label: Set x-label

Description Usage Arguments Value Examples

Description

Set a new x-label to the dataset.

Usage

1
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

1
2
3
4
  ## Example of setting a new x-label to the dataset
  library(specmine.datasets)
  data(cachexia)
  cachexia = set_x_label(cachexia, "new x-label")

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