QFeatures-excel | R Documentation |
QFeatures
object to a Excel file.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 with 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 qMetacell 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 qMetacell()
. There is a
color code for the different tags.
xxx
## S4 method for signature 'QFeatures'
write2excel(object, i = NULL, filename = "newFile", ...)
## S4 method for signature 'SummarizedExperiment'
write2excel(object, filename, exp.design, ...)
.write2excel(object, filename, exp.design)
addColors(wb, n, tags, colors)
object |
xxx |
i |
xxx |
filename |
xxx |
... |
xxx |
exp.design |
xxx |
wb |
A workbook |
n |
A |
tags |
xxx |
colors |
A |
A Excel file.
Samuel Wieczorek
data(ft, package='DaparToolshed')
#---------------------------------------
# Export the whole dataset
#---------------------------------------
write2excel(ft, filename = "foo")
unlink('foo.xls')
write2excel(ft, 1, "foo")
unlink('foo.xls')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.