Exemplo n.º 1
0
        public void TestPValueSTDV(double[] pValues, double stdv)
        {
            var stats = new Genometric.GeUtilities.Intervals.Parsers.Model.BedStats();

            foreach (var peak in CreatePeaks(pValues))
            {
                stats.Update(peak);
            }

            Assert.True(Math.Round(stats.PValuePSTDV, 9) == stdv);
        }
Exemplo n.º 2
0
        public void TestPValueMean(double[] pValues, double mean)
        {
            var stats = new Genometric.GeUtilities.Intervals.Parsers.Model.BedStats();

            foreach (var peak in CreatePeaks(pValues))
            {
                stats.Update(peak);
            }

            Assert.True(stats.PValueMean == mean);
        }