This function scales the expression matrix by dividing each marker's values by the maximum value in that marker.
The scaled matrix is added as an additional layer in the data object.
Usage
scaleExpressionMatrix(data, matrix_name = "scaled_exp_matrix")
Arguments
- data
An object of class CygnusObject
containing an expression matrix.
- matrix_name
Character string specifying the name for the new scaled matrix layer. Default is "scaled_exp_matrix".
Value
The data object with an additional layer containing the scaled expression matrix.