write.m.file: Function to write a 'csv' file containing gene lists (aka...

View source: R/write.m.file.R

write.m.fileR 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.

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")


bhklab/genefu documentation built on Nov. 30, 2024, 9:03 p.m.