makeLMFormula | R Documentation |
Makes a string linear model formula suitable for the right hand side of the equasion passed into lm()
makeLMFormula(eff, var_name = "")
eff |
treatment group ordering for all samples being anlysed. Single factor with 2+ teatment groups. Used to generate formula and contrasts for lm(). |
var_name |
string variable name to use in the formula |
eig_norm1 and eig_norm2 Here we incorporate the model matrix from EigenMS normalization to find the significant trends in the matrix of residuals.
data structure with linea model formula and contrasts
Lienar model formula suitable for right hand side of ' ~' in lm(), ~ is not included int eh formula
contrasts for lm(), here sum-to-zero constraint only
grps = as.factor(c('CG', 'CG', 'CG', 'mCG', 'mCG', 'mCG')) makeLMFormula(grps, 'TREATS')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.