Description Usage Arguments Details Value Author(s) References Examples
reg.coeffs
calculates back regression coefficients for true variables (experimental groups) from dummy variables regression coefficients.
1 2 3 | reg.coeffs(coefficients,
indepen = groups.vector[nchar(groups.vector)==min(nchar(groups.vector))][1],
groups.vector, group)
|
coefficients |
vector of regression coefficients obtained from a regression model with dummy variables |
indepen |
idependent variable of the regression formula |
groups.vector |
vector indicating the true variable of each variable in |
group |
true variable for which regression coefficients are to be computed |
regression coefficients in coefficients vector should be ordered by polynomial degree in a regression formula, ie: intercept, $x$ term, $x^2$ term, $x^3$ term, and so on...
reg.coeff |
vector of calculated regression coefficients |
Ana Conesa and Maria Jose Nueda, mj.nueda@ua.es
Conesa, A., Nueda M.J., Alberto Ferrer, A., Talon, T. 2005. maSigPro: a Method to Identify Significant Differential Expression Profiles in Time-Course Microarray Experiments.
1 2 3 4 | groups.vector <-c("CT", "T1vsCT", "T2vsCT", "CT", "T1vsCT","T2vsCT", "CT", "T1vsCT", "T2vsCT")
coefficients <- c(0.1, 1.2, -0.8, 1.7, 3.3, 0.4, 0.0, 2.1, -0.9)
## calculate true regression coefficients for variable "T1"
reg.coeffs(coefficients, groups.vector = groups.vector, group = "T1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.