set_value_label: Set value label

Description Usage Arguments Value Examples

Description

Set a new value label for the dataset.

Usage

1
set_value_label(dataset, new.val.label)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

new.val.label

string with the new value label.

Value

Returns the dataset with the updated value label.

Examples

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

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