QFeatures-excel: Exports a 'QFeatures' object to a Excel file.

QFeatures-excelR Documentation

Exports a QFeatures object to a Excel file.

Description

This function exports an instance of the class QFeatures to a Excel file. The resulting file is composed of four sheets:

  • quantitative data which contains the content of assay() object whith a color code for each cell w.r.t. to cell quantitative metadata.

  • metadata which is the content of rowData() with only one-dimensionnal data (i.e. the adjacencyMatrix and the qMetadata slots are not part of the sheet),

  • exp. design which is the content of colData(). Each condition in the table is colored with a different color,

  • quantitative metadata which is the content of qMetadata(). There is a color code for the different tags.

Usage

## S4 method for signature 'QFeatures'
write2excel(object, i = NULL, filename = "newFile", ...)

## S4 method for signature 'SummarizedExperiment'
write2excel(object, filename, exp.design, ...)

Arguments

object

An object of class QFeatures.

i

xxx

filename

A character string for the name of the Excel file.

exp.design

xxx

Value

A Excel file.

Author(s)

Samuel Wieczorek

Examples


data(ft)

#---------------------------------------
# Export the whole dataset
#---------------------------------------

write2excel(ft, filename = 'foo')
write2excel(ft, 1, 'foo')



samWieczorek/Dapar2 documentation built on May 13, 2022, 9:23 a.m.