StatModel-class | R Documentation |
The 'StatModel' class contains a statistical model generated by the DTU analysis.
Models are created by the dedicated user-level function 'fitDTU()' or manually, using the 'StatModel()' constructor. In the former case, each quantitative feature is assigned its s tatistical model and the models are stored as a variable in a 'DataFrame' object, that in turn will be stored in the 'RowData' slot of a 'SummarizedExperiment object'.
type
'character(1)' defining type of the used model. Default is '"fitError"', i.e. an error model. If not an error, class type will be '"glm"'.
params
A 'list()' containing the parameters of the fitted model.
varPosterior
'numeric()' of posterior variance.
dfPosterior
'numeric()' of posterior degrees of freedom.
Jeroen Gilis
## A fully specified dummy model myModel <- StatModel( type = "glm", params = list(x = 3, y = 7, b = 4), varPosterior = c(0.1, 0.2, 0.3), dfPosterior = c(6, 7, 8) ) myModel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.