extendClusterSet {MetaNeighbor}R Documentation

Extend cluster set to nearest neighbors on cluster graph.

Description

Note that the graph is directed, i.e. neighbors are retrieved by following arrows that start from the initial clusters.

Usage

extendClusterSet(graph, initial_set, max_neighbor_distance = 2)

Arguments

graph

Graph in igraph format generated by makeClusterGraph.

initial_set

Vector of cluster labels

max_neighbor_distance

Include more distantly related nodes by performing neigbor extension max_neighbor_distance rounds.

Value

Character vector including initial cluster set and all neighboring clusters (if any).


[Package MetaNeighbor version 1.14.0 Index]