View source: R/measures_net_dis.R
netdis_one_to_many | R Documentation |
Netdis comparisons between one graph and many other graphs.
netdis_one_to_many( graph_1 = NULL, graphs_compare = NULL, ref_graph = 0, max_graphlet_size = 4, neighbourhood_size = 2, min_ego_nodes = 3, min_ego_edges = 1, binning_fn = NULL, bin_counts_fn = NULL, exp_counts_fn = NULL, graphlet_counts_1 = NULL, graphlet_counts_compare = NULL, graphlet_counts_ref = NULL )
graph_1 |
Query graph - this graph will be compared with all graphs in graphs_compare. A simplified igraph graph object. |
graphs_compare |
Graphs graph_1 will be compared with. A named list of simplified igraph graph objects. |
ref_graph |
Controls how expected counts are calculated. Either:
1) A numeric value - used as a constant expected counts value for all query
graphs (DEFAULT: 0).
2) A simplified |
max_graphlet_size |
Generate graphlets up to this size. Currently only 4 and 5 are supported. |
neighbourhood_size |
Ego network neighbourhood size. |
min_ego_nodes |
Filter ego networks which have fewer than min_ego_nodes nodes. |
min_ego_edges |
Filter ego networks which have fewer than min_ego_edges edges. |
binning_fn |
Function used to bin ego network densities. Takes edge |
bin_counts_fn |
Function used to calculate expected graphlet counts in
each density bin. Takes |
exp_counts_fn |
Function used to map from binned reference counts to
expected counts for each graphlet in each ego network of the query graphs.
Takes |
graphlet_counts_1 |
Pre-generated graphlet counts for the first query
graph. If the |
graphlet_counts_compare |
Named list of pre-generated graphlet counts
for the remaining query graphs. If the |
graphlet_counts_ref |
Pre-generated reference graphlet counts. If the
|
Netdis statistics between graph_1 and graph_2 for graphlet sizes up to and including max_graphlet_size
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.