write.m.file {genefu} | R Documentation

## Function to write a 'csv' file containing gene lists (aka gene signatures)

### Description

This function allows for writing a 'csv' file containing gene signatures. Each gene signature is composed of at least four columns: "gene.list" is the name of the signature on the first line and empty fields below, "probes" are the probe names, "EntrezGene.ID" are the EntrezGene IDs and "coefficient" are the coefficients of each probe.

### Usage

    write.m.file(obj, file, ...)

### Arguments

`obj` | List of gene signatures.
`file` | Filename of the 'csv' file.
`...` | Additional parameters for `read.csv` function.

### Value

None.

### Author(s)

Benjamin Haibe-Kains

### Examples

    ## load gene modules published by Demsedt et al 2009
    data(mod1)
    ## write these gene modules in a 'csv' file
    ## Not run: write.m.file(obj=mod1, file="desmedt2009_genemodules.csv")

[Package genefu version 2.11.2 Index]