Scale matrix with Z-score.
rowZscores(m = NULL, min = -2, max = 2, limit = FALSE)
the matrix need to zscore transform.
the minimum value for the zscore. Default: -2.
the maximum value for the zscore. Default: 2.
Whether to limit the maximum and minimum values of zscore. Default: FALSE.
matrix after the zscore transform.
rowZscores(m = mat, min = -2, max = 2, limit = TRUE)
#> Error in eval(expr, envir, enclos): object 'mat' not found