get.DegreeHubStatistic: calculate module degree statistics based on random...

Description Usage Arguments Details Value Author(s) Examples

View source: R/ClusteringPackage.R

Description

calculation of module p-values.

Usage

1
get.DegreeHubStatistic(subnetwork,n.perm = 100,doPar = FALSE,n.core = 4)

Arguments

subnetwork

a planar network as an igraph object.

n.perm

number of random networks generated, constraint with number of links and nodes same to "subnetwork".

doPar

TRUE/FALSE to parallelize.

n.core

number of cores/threads to use.

Details

Hub significance calculation functionality. Make sure that, if doPar = TRUE, register cores using registerDoParallel() from doParallel package.

Value

a data.frame table showing node-wise statistics.

Author(s)

Won-Min Song

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
	rm(list = ls())
	data(Sample_Expression)
	ijw <- calculate.correlation(datExpr[1:100,],doPerm = 2)
	el <- calculate.PFN(ijw[,1:3])
	g <- graph.data.frame(el,directed = FALSE)

	out <- get.DegreeHubStatistic(subnetwork = g,n.perm = 100,doPar = FALSE,n.core = 4)

## End(Not run)

MEGENA documentation built on Sept. 11, 2018, 1:03 a.m.