Learn R Programming

specmine (version 3.1.6)

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
# NOT RUN {
  ## Example of setting a new x-label to the dataset
  library(specmine.datasets)
  data(cachexia)
  cachexia = set_x_label(cachexia, "new x-label")
# }

Run the code above in your browser using DataLab