Skip to content

Commit

Permalink
Merge pull request #151 from uclahs-cds/hwinata-support-monoclonal
Browse files Browse the repository at this point in the history
Fix bug when input is monoclonal
  • Loading branch information
whelena authored Oct 8, 2024
2 parents 609e27a + 6fe99c4 commit 4d30d25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

## Bug
* Fixed S3 naming conflict in heatmap functions, using safe "create." prefix
* Fixed error when input is monoclonal


# CancerEvolutionVisualization 2.0.0 (2023-11-16)
Expand Down
2 changes: 1 addition & 1 deletion R/branch.length.scaling.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ get.smart.branch.length.scale <- function(branch.lengths, tree.depth) {
}

get.tree.depth.modifier <- function(tree.depth) {
log2(tree.depth);
max(log2(tree.depth), 1);
}

0 comments on commit 4d30d25

Please sign in to comment.