add_inter_clusters_connections: Add connections between cluster nodes

Description Usage Arguments Value

View source: R/scaffold.R

Description

This function takes an existing Scaffold map and adds connections between the cluster nodes

Usage

1
add_inter_clusters_connections(G, col.names, weight.factor)

Arguments

G

An igraph object, representing a Scaffold map, as returned by add_vertices_to_landmarks_graph

col.names

A vector of column names to be used for the comptation of similarities

weight.factor

Weight factor. The edge weights for the inter-cluster connections will be multiplied by this weight factor. This is useful in case one wants to weight the connections between the clusters differently from the connections between the clusters and the landmarks

Value

Returns an igraph object, representing a Scaffold map with inter-cluster connections


ParkerICI/scgraphs documentation built on April 30, 2021, 1:10 p.m.