spectra2hyperSpec: Convert a Spectra object to a hyperSpec object

Description Usage Arguments Value Author(s) Examples

View source: R/spectra2hyperSpec.R

Description

This function converts a Spectra object as used the in the ChemoSpec package to a hyperSpec object as used in the package of the same name.

Usage

1

Arguments

Spectra

A Spectra object.

Value

A hyperSpec object.

Author(s)

Conor McManus

Examples

1
2
3
4
5
6
require("hyperSpec")
require("ChemoSpec")
data(SrE.IR) # data set from ChemoSpec
IR <- spectra2hyperSpec(SrE.IR)
IR
str(IR)

Chathurga/HyperChemoBridge documentation built on Sept. 5, 2020, 9:28 a.m.