View source: R/dgeglm_functions.R
Obtain fitted values for a given combination of design coefficients
1 | compute_fitted_values(x, contrasts, center = FALSE)
|
x |
A fit from running an edgeR pipeline, eg, a DGEGLM object. |
contrasts |
A matrix defining linear combination of design coefficients. eg, this might define the combination of design coefs that gives the fitted value for a particular (set of) treatment group. This should be specified in the format of a contrasts matrix (a row for each design coefficient, a column for each computed value). If rownames are specified, they should be identical to those used in the corresponding design matrix. |
center |
Boolean: should the mean value be subtracted from each row before returning the results matrix? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.