Class DifferentialExpressionResultPrecisionTest
java.lang.Object
ubic.gemma.model.analysis.expression.diff.DifferentialExpressionResultPrecisionTest
Wire-form guards for the differential-expression statistics, which serialize on every route that carries
these value objects —
/resultSets/{id} and the /datasets/analyses/differential/results
family among them.- Author:
- paul
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidFour significant digits still resolves a p-value at the bottom of the double range, which is why the rule is significant digits rather than decimal places.voidvoidThe result value object carries its contrasts inline, so the nested statistics have to round too.voidvoidvoidRounding happens at serialization, so the in-memory value the diff-ex ranking sorts on stays exact.
-
Constructor Details
-
DifferentialExpressionResultPrecisionTest
public DifferentialExpressionResultPrecisionTest()
-
-
Method Details
-
testResultStatisticsSerializeRounded
-
testAVerySmallPvalueSurvives
-
testTheInMemoryStatisticIsNotRounded
-
testContrastStatisticsSerializeRounded
-
testNullStatisticsAreStillNull
-
testNestedContrastsAreRoundedInsideAResult
-