count_orbits_per_node: Count graphlet orbits for each node in a graph

View source: R/orca_interface.R

count_orbits_per_nodeR Documentation

Count graphlet orbits for each node in a graph

Description

Calculates graphlet orbit counts for each node in an igraph graph object, using the orca fast graphlet orbit counting package.

Usage

count_orbits_per_node(graph, max_graphlet_size)

Arguments

graph

A 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 orbit (columns) at each node in the graph (rows).


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