adjacency: Calculate Adjacency Matrix

Description Usage Arguments Details Value

View source: R/adjacency.R

Description

This utility function updates a matrix with the adjacency information of a given cluster assignment.

Usage

1
adjacency(clusters, samples, mat)

Arguments

clusters

Cluster assignments.

samples

Samples included in subsampling draw.

mat

Matrix to update.

Details

This function speeds up serial computation of consensus matrices.

Value

An adjacency matrix update reflecting the clustering of the given subsample.


dswatson/M3C documentation built on Aug. 20, 2017, 2:46 p.m.