grapes-times-times-grapes: Sorted matrix multiplication

%**%R Documentation

Sorted matrix multiplication

Description

This function multiplies two matrices but first reorders the rows of the second matrix to match the columns of the first matrix

Usage

X %**% Y

Arguments

X

a matrix with colnames specified.

Y

a matrix with rownames specified. Alternatively, a list assumed to contain two objects, a matrix with rownames specified, and a vector of scaling values for subtraction.

Value

matrix


MarioniLab/StabMap documentation built on Sept. 28, 2022, 2:28 a.m.