Turn a matrix to a data.frame withe newly defined colnames.

reNameCols(mat, key = "comp")

Arguments

mat

Matrix.

key

String.

Value

Data frame.