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.

See also

Author

C. Beleites