sim_matrix_shuffle: Re-order a similarity matrix

Description Usage Arguments Value

View source: R/matrix_shuffle.R

Description

Re-order columns / rows of a similarity matrix based on a given permutation.

Usage

1
sim_matrix_shuffle(X, row_order)

Arguments

X

Matrix

row_order

Integer vector, a permutation of 1:nrow(m).

Value

A re-arranged similarity matrix (sparse & symmetric)


ytoren/simscaleR documentation built on April 17, 2021, 12:32 p.m.