hs_conv_mq: Convert a hyperSpec object toa MassSpectrum object

Description Usage Arguments Examples

View source: R/hs_conv_mq.R

Description

This function converts a hyperSpec::hyperSpec objects (default of Raman spectra) to a MALDIquant::MassSpectrum object for downstream processing.

Usage

1
hs_conv_mq(hs.x)

Arguments

hs.x

hyperSpec object

Examples

1
2
3
4
5
6
7
## Short example

# Load hyperSpec object
data("hs_example")

# Convert to MassSpectrum object
mq.x <- hs_conv_mq(hs_example)

CMET-UGent/MicroRaman documentation built on July 25, 2020, 6:20 p.m.