condor.qscore: Calculate Qscore for all nodes

Description Usage Arguments Value Examples

Description

Qscore is designed to calculate the fraction of the modularity contributed by each node to its community's modularity

Usage

1
condor.qscore(condor.object)

Arguments

condor.object

output of condor.cluster or condor.modularity.max

Value

condor.object list has condor.object$qscores added to it. this includes two data.frames, blue.qscore and red.qscore which have the qscore for each red and blue node.

Examples

1
2
3
4
5
6
7
8
r = c(1,1,1,2,2,2,3,3,3,4,4);
b = c(1,2,3,1,2,4,2,3,4,3,4);
reds <- c("Alice","Sue","Janine","Mary")
blues <- c("Bob","John","Ed","Hank")
elist <- data.frame(red=reds[r],blue=blues[b])
condor.object <- create.condor.object(elist)
condor.object <- condor.cluster(condor.object)
condor.object <- condor.qscore(condor.object)   

jplatig/condor documentation built on July 8, 2019, 4:27 p.m.