morrislab / pairtree

Pairtree is a method for reconstructing cancer evolutionary history in individual patients, and analyzing intratumor genetic heterogeneity. Pairtree focuses on scaling to many more cancer samples and cancer cell subpopulations than other algorithms, and on producing concise and informative interactive characterizations of posterior uncertainty.
MIT License
33 stars 10 forks source link

Fixes divide by zero exception when omega=0 #21

Closed ethanumn closed 2 years ago

ethanumn commented 2 years ago

Minimal changes necessary to fix divide by zero error that occurs when a mutations var_read_prob is equal to 0. Issue arises when fitting etas using both rprop and projection algorithms. See issue #14.