norm.RUVr.RdNormalize the dataset using RUV using residuals, and return the normalized dataset with adjusting factor.
norm.RUVr(raw, groups)| raw | raw count data in the format of data frame or matrix, with columns for samples and rows for genes. |
|---|---|
| groups | vector of characters indicating the group for each sample. |
list, containing dat.normed (normalized dataset), and the adjust.factor (adjusting factors) for the design matrix. The normalized dataset could only used for exploration, and adjusting factors are recommended as a covariate in the downstream analysis.
test.RUVr <- norm.RUVr(data.test, data.group)