uclahs-cds / package-CancerEvolutionVisualization

Publication Quality Phylogenetic Tree Plots
https://cran.r-project.org/web/packages/CancerEvolutionVisualization/
GNU General Public License v2.0
2 stars 0 forks source link

Validate gene.line.dist #36

Closed dan-knight closed 1 year ago

dan-knight commented 1 year ago

These changes add a validation step for the gene.line.dist input parameter. Its value must be between 0 and 1, otherwise an internal error will be raised. This is not useful to a user, so this constrains the value and shows a warning to describe the correct usage.