write.modules: Writing modules into a text file

View source: R/DiffCorr.R

write.modulesR Documentation

Writing modules into a text file

Description

Writing modules into a text file

Usage

write.modules(cutree.res, mod.list, outfile = "module_list.txt")

Arguments

cutree.res

the result of cutree function

mod.list

the result of get.eigen.molecule

outfile

file name of output

Value

a text file

Author(s)

Atsushi Fukushima

Examples

## Not run: 
data(golub, package = "multtest")
hc.mol1 <- cluster.molecule(golub[, 1:27], "pearson", "average")
g1 <- cutree(hc.mol1, h=0.4)
res1 <- get.eigen.molecule(golub, g1)
write.modules(g1, res1)

## End(Not run)

DiffCorr documentation built on Aug. 25, 2023, 5:16 p.m.