generate_similarity_matrix: Similarity matrix generation.

View source: R/utils.R

generate_similarity_matrixR Documentation

Similarity matrix generation.

Description

Generate block-structured similarity matrices corresponding to cluster structures.

Usage

generate_similarity_matrix(cluster_sizes)

Arguments

cluster_sizes

List of cluster sizes.

Value

Similarity matrix with samples as row-/colnames.

Examples

generate_similarity_matrix(c(1, 2, 3))

cbg-ethz/pareg documentation built on July 20, 2023, 7:30 p.m.