Learn R Programming

dna (version 2.1-2)

get.modules-methods: Methods for Function get.modules

Description

get.modules-methods

Arguments

Methods

signature(object = "modules")

returns the module number for each gene in a network. For the genes that are in none of the modules, the module number is listed as 0.

References

Gill, R., Datta, S., and Datta, S. (2010) A statistical framework for differential network analysis from microarray data. BMC Bioinformatics, 11, 95.

Examples

Run this code
# NOT RUN {
# artificial example to show how to obtain modules from a matrix of
# connectivity scores
set.seed(26)
s=matrix(runif(100,-1,1),10,10);diag(s)=1;s=round((s+t(s))/2,1)
the.modules=network.modules(s,m=3,epsilon=.7)
the.modules

# method for extracting the modules
get.modules(the.modules)
# }

Run the code above in your browser using DataLab