Learn R Programming

DiffCorr (version 0.4.4)

get.eigen.molecule.graph: Getting graph from eigengene module list

Description

Getting graph from eigengene module list

Usage

get.eigen.molecule.graph(eigen.list, label = "Module")

Value

igraph object

Arguments

eigen.list

the resulting vector from get.eigen.molecule

label

a label of module extracted (default: "Module")

Author

Atsushi Fukushima

Examples

Run this code
library(pcaMethods)
library(igraph)
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)
g1.eigen <- get.eigen.molecule.graph(res1)

Run the code above in your browser using DataLab