check_dataset: Check dataset

Description Usage Arguments Value Examples

Description

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

Usage

1
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

1
2
3
4
  ## Example checking a dataset
  library(specmine.datasets)
  data(cachexia)
  check_dataset(cachexia)

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