Learn R Programming

specmine (version 1.0)

remove_metadata_variables: Remove metadata's variables

Description

Remove metadata's variables from the dataset

Usage

remove_metadata_variables(dataset, variables.to.remove)

Arguments

dataset
list representing the dataset from a metabolomics experiment.
variables.to.remove
vector with the metadata's variables to remove.

Value

Returns the dataset with the selected metadata's variables removed.

Examples

Run this code
  ## Example of removing metadata's variables
  data(cassavaPPD)
  dataset = remove_metadata_variables(cassavaPPD, c("varieties"))

Run the code above in your browser using DataLab