Learn R Programming

specmine (version 3.1.6)

get_sample_names: Get sample names

Description

Get the sample names from the dataset.

Usage

get_sample_names(dataset)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

Value

Returns a vector with the sample names.

Examples

Run this code
# NOT RUN {
  ## Example of getting the sample names
  library(specmine.datasets)
  data(cachexia)
  sample.names = get_sample_names(cachexia)
# }

Run the code above in your browser using DataLab