getOneLink: Counting the number of nodes and the number of links...

Description Usage Arguments Value Author(s) Examples

Description

Counting the number of nodes and the number of links in a specific subnetwork. From a list of nodes forming the subnetwork, the number of nodes and the number of links associated to the subnetwork are calculated. The nodes and links inside the subnetwork are counted as well as all first-degree neighbor nodes and all links associated to the first-degree nodes.

Usage

1
getOneLink(netAll, nodesSel)

Arguments

netAll

a hash representing the global network.

nodesSel

a vector of caracter strings representing all the nodes contained in the subnetwork.

Value

a vector containing 2 integer. The first integer represents the number of nodes and the second integer represents the number of links associated to the tested subnetwork.

Author(s)

Pascal Belleau, Astrid Deschenes

Examples

1
## TODO

belleau/subnetsim documentation built on May 27, 2019, 2:08 p.m.