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

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