info_network: returns additional information regarding the networks X and Y...

Description Usage Arguments Value Examples

Description

This function returns some additional information such as number of nodes and edges in the networks X and Y.

Usage

1
info_network(g1,g2, taxnames)

Arguments

g1

the original network X

g2

the augmented network Y with additional nodes (all the original nodes from X must be present in the augmented network Y)

taxnames

the taxon name of the nodes added to the original graph (default: we select all nodes that are not in g1)

Value

Additional information such as: number of nodes in networks X and Y, clustering coefficient, average degree, number of clusters and node distributions.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
   ## Report information about the networks of Sample_1   
	data(Sample_1)
	info_network(g1,g2)	
   ## Network characteristics:
   ## Total of new nodes in network Y: 3 
   ## Number of edges in network Y: 17 
   ## Number of nodes in network Y: 14 
   ## Number of nodes in network X: 11 
   ## Total of pathways to investigate: 55 
   ## Clustering coefficient network Y: 0 
   ## Clustering coefficient network X: 0 
   ## Average degree + std in network Y: 2.428571 + 1.01635 
   ## Average degree + std in network X: 2 + 0.8944272 
   ## Average path length in network Y: 2.119403 
   ## Average path length in network X: 2.162162 
   ## Number of clusters in network Y: 2 
   ## Number of clusters in network X: 2 
   ## Average cluster size + std in network Y: 7 + 7.071068 
   ## Average cluster size + std in network X: 5.5 + 4.949747 
   ## Nodes distribution in network Y (first row taxa, second row count):
   ##  1  2 
   ## 11  3 

SDDE documentation built on May 1, 2019, 9:01 p.m.