These data input functions are deprecated and they will be removed in the next release of hyperspec package. Now functions in package hySpc.read.mat (link) should be used as the alternatives.

Old description:

These functions allow to import .mat (Matlab V5) files written by Cytospec.

read.mat.Cytospec(file, keys2data = FALSE, blocks = TRUE)

Arguments

file

The complete file name (or a connection to) the .mat file.

keys2data

specifies which elements of the Info should be transferred into the extra data

blocks

which blocks should be read? TRUE reads all blocks.

Value

hyperSpec object if the file contains a single spectra block, otherwise a list with one hyperSpec object for each block.

Note

This function is an ad-hoc implementation and subject to changes.

Author

C. Beleites