write.m.file: 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.
## load gene modules published by Demsedt et al 2009data(mod1)
## write these gene modules in a 'csv' filewrite.m.file(obj=mod1, file="desmedt2009_genemodules.csv")