Learn R Programming

MEGENA (version 1.3.7)

get.DegreeHubStatistic: 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.

Value

a data.frame table showing node-wise statistics.

Details

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

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataLab