compactness: Calculates compactness of network based on the presence of...

View source: R/netva.R

compactnessR Documentation

Calculates compactness of network based on the presence of all maximal 3-node cliques in complete network Or Determine network compactness after removal of a node of interest

Description

Calculates compactness of network based on the presence of all maximal 3-node cliques in complete network Or Determine network compactness after removal of a node of interest

Usage

compactness(v = NULL, net, p = 0.1)

Arguments

v

A node/protein name which will be removed (by default NULL, i.e., none of nodes will be removed and the compactness value will be of complete network).

net

An igraph graph object.

p

A penalty term which measures the inaccuracy of the network interaction. The default value of p is set to 0.1.

Value

A single numeric value.


kr-swapnil/NetVA documentation built on April 15, 2024, 8:32 p.m.