Learn R Programming

eemR (version 0.1.2)

eem_export_matlab: Export EEMs to Matlab

Description

Export EEMs to Matlab

Usage

eem_export_matlab(file, ...)

Arguments

file
The .mat file name where to export the structure.
...
One or more object of class eem or eemlist.

Value

  • A structure named OriginalData is created and contains:

    [object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

    sample_name The list of sample names (i.e. file names) of the imported EEMs.

Details

The function exports EEMs into PARAFAC-ready Matlab .mat file usable by the www.models.life.ku.dk/drEEM{drEEM} toolbox.

Examples

Run this code
file <- system.file("extdata/cary/eem/", "sample1.csv", package = "eemR")
eem <- eem_read(file)

export_to <- paste(tempfile(), ".mat", sep = "")
eem_export_matlab(export_to, eem)

Run the code above in your browser using DataLab