File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ Cell::Outcome Cell::performGeneration(const AnatomicalSiteFactorVector& anatomic
37
37
38
38
double logistic_factor = map.find (_driverMutations)->second ;
39
39
40
- double birthRate = 0.65 * (1 + s_0) * (_driverMutations.size () + 1 ) * logistic_factor;
40
+ double birthRate = 0.5 * (1 + s_0) * (_driverMutations.size () + 1 ) * logistic_factor;
41
41
if (birthRate < 0 )
42
42
birthRate = 0 ;
43
43
else if (birthRate > 1 )
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ void CellTree::updateAnatomicalSiteFactors()
297
297
nrCells_s += nrCells_sX;
298
298
299
299
// _anatomicalSiteFactors[s][X] = double(_K - nrCells_sX) / _K;
300
- _anatomicalSiteFactors[s][X] = 1 - double (nrCells_sX) / _K ;
300
+ _anatomicalSiteFactors[s][X] = 1 - double (nrCells_sX) / (_K * ( 1 + X. size ())) ;
301
301
302
302
if (nrCells_sX > 0 )
303
303
{
You can’t perform that action at this time.
0 commit comments