adjacency: Calculate Adjacency Matrix

Description Usage Arguments Details Value

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/CCtestr documentation built on May 31, 2019, 11:50 p.m.