Description Usage Arguments Value Examples
View source: R/classical_lsq_class.R
In univariate classical least squares regression a line is fitted between each feature/variable and a response variable. The fitted line minimises the sum of squared differences between the true response and the predicted response. The coefficients (offset, gradient) of the fit can be tested for significance.
1 | classical_lsq(alpha = 0.05, mtc = "fdr", factor_names, intercept = TRUE, ...)
|
alpha |
(numeric) The p-value cutoff for determining significance. The default is |
mtc |
(character) Multiple test correction method. Allowed values are limited to the following:
The default is |
factor_names |
(character) The name of sample meta column(s) to use. |
intercept |
(logical) Model intercept. Allowed values are limited to the following:
The default is |
... |
Additional slots and values passed to |
A classical_lsq
object.
1 2 3 | D = iris_DatasetExperiment()
M = classical_lsq(factor_names = 'Species')
M = model_apply(M,D)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.