DaMiR.SVadjust {DaMiRseq} | R Documentation |
This function removes surrogate or other confounding
variable effects from
normalized expression data by the usage of
removeBatchEffect
function
of limma
package.
DaMiR.SVadjust(data, sv, n.sv)
data |
A SummarizedExpression object |
sv |
The matrix of surrogate variables identified by
|
n.sv |
The number of surrogate variables to be used to adjust the data |
A SummarizedExpression object containing a matrix of log-expression values with sv effects removed and the data frame of the variables.
Mattia Chiesa, Luca Piacentini
# use example data: data(data_norm) data(sv) data_adjust <- DaMiR.SVadjust(data_norm, sv = sv, n.sv = 3)