Learn R Programming

DiffCorr (version 0.4.3)

write.modules: Writing modules into a text file

Description

Writing modules into a text file

Usage

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

Value

a text file

Arguments

cutree.res

the result of cutree function

mod.list

the result of get.eigen.molecule

outfile

file name of output

Author

Atsushi Fukushima

Examples

Run this code
if (FALSE) {
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)
}

Run the code above in your browser using DataLab