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

Include tree prep in plotting function #8

Closed dan-knight closed 2 years ago

dan-knight commented 2 years ago

Moves prep.tree into the main SRCGrob function. This simplifies the process of creating a tree. Before, the user needed to call prep.tree separately, then pass the correct output values into SRCGrob. This was unintuitive and error-prone.

This change also allows prep.tree to be private. Some unnecessary inputs to prep.tree were removed, and SRCGrob inputs have been changed to pass data to prep.tree.