View source: R/measures_net_dis.R
netdis_many_to_many | R Documentation |
Compute any of the Netdis variants between all graph pairs.
netdis_many_to_many( graphs = NULL, ref_graph = NULL, comparisons = "many-to-many", 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 = NULL, graphlet_counts_ref = NULL )
graphs |
A named list of simplified igraph graph objects (undirected
graphs excluding loops, multiple edges), such as those
obtained by using |
ref_graph |
Controls how expected counts are calculated. Either:
1) A numeric value - used as a constant expected counts value for all query
graphs.
2) A simplified |
comparisons |
Which comparisons to perform between graphs. Can be "many-to-many" (all pairwise combinations) or "one-to-many" (compare first graph in graphs to all other graphs.) |
max_graphlet_size |
Generate graphlets up to this size. Currently only 4 (default) and 5 are supported. |
neighbourhood_size |
Ego network neighbourhood size (default 2). |
min_ego_nodes |
Filter ego networks which have fewer than min_ego_nodes nodes (default 3). |
min_ego_edges |
Filter ego networks which have fewer than min_ego_edges edges (default 1). |
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 |
Pre-generated graphlet counts (default: NULL). If the
|
graphlet_counts_ref |
Pre-generated reference graphlet counts (default: NULL). Matrix containing counts
of each graphlet (columns) for each ego-network (rows) in the input graph. Columns are labelled with
graphlet IDs and rows are labelled with the ID of the central node in each
ego-network. As well as graphlet counts, each matrix must contain an
additional column labelled "N" including the node count for
each ego network.
If the |
Netdis statistics between query graphs 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.