Normalize the expression matrix by using the given factor for each sample.
URG_normalize(expr.matrix, factor, log.expr = FALSE)
The expression matrix. Each row represents a gene and each column represents a sample.
The numeric vector of normalization factors.
Logical variable indicating whether the input expression matrix is in logarithmic scale.
This function will return a numeric matrix with the same dimension of expr.matrix
.