count_graphlets_per_node: Count graphlets for each node in a graph

View source: R/orca_interface.R

count_graphlets_per_nodeR Documentation

Count graphlets for each node in a graph

Description

Calculates graphlet counts for each node in an igraph graph object, using the ORCA fast graphlet orbit counting package. by summing orbits over graphlets.

Usage

count_graphlets_per_node(graph, max_graphlet_size)

Arguments

graph

A connected, undirected, simple graph as an igraph object

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

ORCA-format matrix containing counts of each graphlet (columns) at each node in the graph (rows).


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