ego_to_graphlet_counts: ego_to_graphlet_counts

View source: R/orca_interface.R

ego_to_graphlet_countsR Documentation

ego_to_graphlet_counts

Description

Calculates graphlet counts for previously generated ego networks.

Usage

ego_to_graphlet_counts(ego_networks, max_graphlet_size = 4)

Arguments

ego_networks

Named list of ego networks for a graph.

max_graphlet_size

Determines the maximum size of graphlets to count. Only graphlets containing up to max_graphlet_size nodes will be counted. Currently only size 4 and 5 are supported.

Value

returns an RxC matrix containing counts of each graphlet (columns, C) for each ego-network (rows, R). Columns are labelled with graphlet IDs and rows are labelled with the ID of the central node in each ego-network.


alan-turing-institute/network-comparison documentation built on June 7, 2022, 10:41 p.m.