is_spectra: Check type of data

Description Usage Arguments Value Examples

Description

Check if the dataset is from spectral data where x.values are numeric.

Usage

1
is_spectra(dataset)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

Value

Returns a boolean indicating if the dataset is from spectral data or not.

Examples

1
2
3
  ## Example of checking if the dataset is from spectral data
  data(cassavaPPD)
  is_spectra(cassavaPPD)


specmine documentation built on May 19, 2017, 12:53 p.m.
Search within the specmine package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.