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

Optional cellular prevalence #9

Closed dan-knight closed 2 years ago

dan-knight commented 2 years ago

These changes allow a tree to be used without specifying cellular prevalence. This is a big step toward a modular design where the package can handle any combination of tree features. Previously, tree preparation would fail with an error if no CP column was included with the tree data.frame.

Also includes some validation of the cellular prevalence values (only numbers, or values that can be converted to numbers).