tests/testthat/_snaps/guessInits.md

Estimated initial values are consistent

Code
  guessInits(sim_data, getAB(sim_data, "edgeR"))
Output
  $theta
               1          2          3          4           5            6
  1  0.004487179 0.01919721 0.04690117 0.02106150 0.032902137 0.0006485926
  2  0.008974359 0.11954625 0.06309324 0.08508846 0.029527559 0.0551303671
  3  0.091025641 0.02705061 0.16080402 0.04549284 0.814116985 0.0012971851
  4  0.014102564 0.04363002 0.03852596 0.05307498 0.033464567 0.0019457777
  5  0.008974359 0.03228621 0.06309324 0.05644482 0.001968504 0.0562978337
  6  0.156410256 0.21291449 0.07984366 0.00252738 0.006467942 0.0420287975
  7  0.100641026 0.26701571 0.14182021 0.21903960 0.059336333 0.0577247373
  8  0.069871795 0.17626527 0.10943607 0.07919124 0.010123735 0.7118951874
  9  0.150641026 0.05410122 0.17029592 0.07329402 0.007874016 0.0067453626
  10 0.394871795 0.04799302 0.12618649 0.36478517 0.004218223 0.0662861590
               7            8           9          10
  1  0.006743738 0.0008396306 0.027666220 0.510410095
  2  0.011078998 0.0128043661 0.005354752 0.005047319
  3  0.057321773 0.0083963056 0.401160196 0.054258675
  4  0.023603083 0.0302267003 0.020526551 0.078864353
  5  0.012524085 0.0132241814 0.006693440 0.000000010
  6  0.043834297 0.0646515533 0.163319946 0.047318612
  7  0.015173410 0.7928211587 0.259705489 0.040378549
  8  0.021917148 0.0300167926 0.004462294 0.020189274
  9  0.711464355 0.0197313182 0.075412762 0.116719243
  10 0.096339114 0.0272879933 0.035698349 0.126813880

  $c_sample
   [1] 0.9999990 0.9999990 0.9999990 0.9999990 0.5564218 0.7201469 0.8183937
   [8] 0.9999990 0.7594901 0.5211054

  $pi_sample
      1     2     3     4     5     6     7     8     9    10 
  1e-06 1e-06 1e-06 1e-06 1e-01 1e-01 1e-01 1e-01 1e-01 2e-01

  $Z
     1 2 3 4 5 6 7 8 9 10
  1  0 0 0 0 0 0 0 0 0  1
  2  0 0 0 0 0 0 0 0 0  0
  3  0 0 0 0 1 0 0 0 1  0
  4  0 0 0 0 0 0 0 0 0  1
  5  0 0 0 0 0 0 0 0 0  0
  6  0 0 0 0 0 0 0 0 0  0
  7  0 0 0 0 0 0 0 1 0  0
  8  0 0 0 0 0 1 0 0 0  0
  9  0 0 0 0 0 0 1 0 0  0
  10 0 0 0 0 0 0 0 0 0  0

  $phi_sample
     1 2 3 4        5        6        7        8       9        10
  1  1 1 1 1  1.00000 1.000000 1.000000 1.000000 1.00000 43.526207
  2  1 1 1 1  1.00000 1.000000 1.000000 1.000000 1.00000  1.000000
  3  1 1 1 1 16.99997 1.000000 1.000000 1.000000 6.13707  1.000000
  4  1 1 1 1  1.00000 1.000000 1.000000 1.000000 1.00000  4.113056
  5  1 1 1 1  1.00000 1.000000 1.000000 1.000000 1.00000  1.000000
  6  1 1 1 1  1.00000 1.000000 1.000000 1.000000 1.00000  1.000000
  7  1 1 1 1  1.00000 1.000000 1.000000 4.390951 1.00000  1.000000
  8  1 1 1 1  1.00000 9.436568 1.000000 1.000000 1.00000  1.000000
  9  1 1 1 1  1.00000 1.000000 7.145847 1.000000 1.00000  1.000000
  10 1 1 1 1  1.00000 1.000000 1.000000 1.000000 1.00000  1.000000


athchen/beer documentation built on July 2, 2022, 10:35 p.m.