write.m.file | R Documentation |
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.
write.m.file(obj, file, ...)
obj |
List of gene signatures. |
file |
Filename of the 'csv' file. |
... |
Additional parameters for read.csv function. |
None.
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.