get.DegreeHubStatistic {MEGENA}R Documentation

calculate module degree statistics based on random triangulation model via T1 and T2 moves.

Description

calculation of module p-values.

Usage

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

## 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)

[Package MEGENA version 1.3.7 Index]