Learn R Programming

specmine (version 3.1.6)

check_dataset: Check dataset

Description

Check if the dataset is valid and if not give the proper error message.

Usage

check_dataset(dataset)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

Value

Message saying if the dataset is valid or invalid, in the last case also gives the reason.

Examples

Run this code
# NOT RUN {
  ## Example checking a dataset
  library(specmine.datasets)
  data(cachexia)
  check_dataset(cachexia)
# }

Run the code above in your browser using DataLab