writeMSnsetToExcel {DAPAR} | R Documentation

## This function exports a `MSnSet` object to a Excel file.

### Description

This function exports a `MSnSet` data object to a Excel file. Each of the three data.frames in the `MSnSet` object (ie experimental data, phenoData and metaData are respectively integrated into separate sheets in the Excel file). The colored cells in the experimental data correspond to the original missing values which have been imputed.

### Usage

    writeMSnsetToExcel(obj, filename)

### Arguments

`obj` | An object of class `MSnSet`.
`filename` | A character string for the name of the Excel file.

### Value

A Excel file (.xlsx)

### Author(s)

Samuel Wieczorek

### Examples

    Sys.setenv("R_ZIPCMD"= Sys.which("zip"))
    utils::data(Exp1_R25_pept, package='DAPARdata')
    obj <- Exp1_R2_pept[1:1000]
    writeMSnsetToExcel(obj, "foo")

[Package DAPAR version 1.20.3 Index]