Class LinearModelSummaryUtilsTest
java.lang.Object
ubic.gemma.core.util.math.linearmodels.LinearModelSummaryUtilsTest
Unit tests for
LinearModelSummaryUtils.createTerm2CoefficientNames(List, DoubleMatrix): the helper that
maps factor names to the set of R-side coefficient-row names belonging to that factor. The
routine is shape-sensitive (intercept rows are skipped; interaction rows are matched by a
regex-cleaned "fv_NNN" stripping; main-effect rows match by prefix), and is consumed by the
differential-expression pipeline when packaging contrast results.- Author:
- claude
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
LinearModelSummaryUtilsTest
public LinearModelSummaryUtilsTest()
-
-
Method Details
-
interceptRow_isSkipped
@Test public void interceptRow_isSkipped() -
mainEffectCoefficient_isAttachedToMatchingFactor
@Test public void mainEffectCoefficient_isAttachedToMatchingFactor() -
mainEffect_doesNotLeakAcrossFactors
@Test public void mainEffect_doesNotLeakAcrossFactors() -
interactionRow_matchesInteractionFactorAfterFvStripping
@Test public void interactionRow_matchesInteractionFactorAfterFvStripping() -
factorWithNoCoefficients_yieldsEmptyCollection
@Test public void factorWithNoCoefficients_yieldsEmptyCollection() -
emptyFactorList_yieldsEmptyMap
@Test public void emptyFactorList_yieldsEmptyMap()
-