Class LinearModelAnalyzer

  • All Implemented Interfaces:
    DisposableBean, DiffExAnalyzer

    @Component
    @Scope("prototype")
    public class LinearModelAnalyzer
    extends AbstractDifferentialExpressionAnalyzer
    implements DisposableBean
    Handles fitting linear models with continuous or fixed-level covariates. Data are always log-transformed. Interactions can be included if a DifferentialExpressionAnalysisConfig is passed as an argument to 'run'. Currently we only support interactions if there are two factors in the model (no more). One factor can be constant (the same value for all samples); such a factor will be analyzed by looking at the intercept in the fitted model. This is only appropriate for 'non-reference' designs on ratiometric arrays. This also supports subsetting the data based on a factor. For example, a data set with "tissue" as a factor could be analyzed per-tissue rather than with tissue as a covariate. This only handles the analysis, not the persistence or output of the results.
    Author:
    paul