Learn R Programming

DAPAR (version 1.4.7)

writeMSnsetToExcel: 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).

Usage

writeMSnsetToExcel(obj, filename, id)

Arguments

obj
An object of class MSnSet.
filename
A character string for the name of the Excel file.
id
An integer to select in the fdata frame which column has to be used as an index.

Value

A Excel file

Examples

Run this code
data(UPSpep25)
writeMSnsetToExcel(UPSpep25, "foo", 1)

Run the code above in your browser using DataLab