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

Simplify node input #6

Closed dan-knight closed 2 years ago

dan-knight commented 2 years ago

These changes are intended to move toward an input format to fit the general use case. The child column is no longer needed, and the cellular prevalence column format was standardised. (Previously, a user could specify any column name - now it must be named CP).

Removes steps from prep.tree, and separates some preparation steps into their own functions (for example, reorder_clones was completely refactored). Expands unit testing for these refactored functions.

Reduced linear end-to-end test cases to one data set, as they were quite repetitive.