Learn R Programming

hyperSpec (version 0.98-20161118)

read.mat.Cytospec: Import for Cytospec mat files

Description

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

Usage

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

read.cytomat(...)

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.

...

read.cytomat for now hands all arguments to read.mat.Cytospec for backwards compatibility.

Value

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

Details

read.cytomat has been renamed to read.mat.Cytospec and is now deprecated. Use read.mat.Cytospec instead.

See Also

R.matlab::readMat