write.excel: This function exports a data.frame to a Excel file.

View source: R/inOutFiles.R

write.excelR Documentation

This function exports a data.frame to a Excel file.

Description

This function exports a data.frame to a Excel file.

Usage

write.excel(df, tags = NULL, colors = NULL, tabname = "foo", filename = NULL)

Arguments

df

An data.frame

tags

xxx

colors

xxx

tabname

xxx

filename

A character string for the name of the Excel file.

Value

A Excel file (.xlsx)

Author(s)

Samuel Wieczorek

Examples

data(Exp1_R25_pept, package="DAPARdata")
df <- Biobase::exprs(Exp1_R25_pept[seq_len(100)])
tags <- GetMetacell(Exp1_R25_pept[seq_len(100)])
colors <- list(
    "Missing POV" = "lightblue",
    "Missing MEC" = "orange",
    "Quant. by recovery" = "lightgrey",
    "Quant. by direct id" = "white",
    "Combined tags" = "red"
)
write.excel(df, tags, colors, filename = "toto")


prostarproteomics/DAPAR documentation built on Nov. 26, 2024, 6:32 p.m.