extendClusterSet: Extend cluster set to nearest neighbors on cluster graph.

Description Usage Arguments Value

View source: R/graph_visualization.R

Description

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

Usage

1
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).


MetaNeighbor documentation built on Nov. 8, 2020, 5:40 p.m.