plotDegCC: Plot the degree of nodes versus the degree times the...

View source: R/betaMix.R

plotDegCCR Documentation

Plot the degree of nodes versus the degree times the clustering coefficient.

Description

The x-axis represents the number of neighbors of each node, and the y-axis represents the proportion of neighbors which are connected to each other.

Usage

plotDegCC(betamixobj, clusterInfo = NULL, highlightNodes = NULL)

Arguments

betamixobj

The object (list) returned by betaMix

clusterInfo

obtained from graphComponents. If not provided by the user, it will be computed on the fly.

highlightNodes

A vector of node-numbers which will be shown in red. Default is NULL.

Examples

## Not run: 
   data(SIM,package = "betaMix")
   res <- betaMix(betaMix::SIM, maxalpha = 1e-6,ppr = 0.01,subsamplesize = 30000, ind=TRUE)
   adjMat <- getAdjMat(res)
   SimComp <- graphComponents(adjMat)
   plotDegCC(res,SimComp)

## End(Not run)

haimbar/betaMix documentation built on Jan. 3, 2023, 12:54 p.m.