.gets2 {Wrench} | R Documentation |
Obtain variances of logged counts.
.gets2(mat, design = model.matrix(mat[1, ] ~ 1), plot = FALSE, ebs2 = TRUE, smoothed = FALSE, ...)
mat |
count matrix; rows are features and columns are samples. |
design |
model matrix for the count matrix |
plot |
if the mean-variance trend function (the same as that of voom) needs to be plot. |
ebs2 |
if regularization of variances needs to be performed. |
smoothed |
TRUE if all the variance estimates must be based on the mean-variance trend function. |
... |
other parameters |
a vector with variance estimates for logged feature-wise counts.