Skip to content

Commit

Permalink
Update MCMC-main.R
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaying2508 committed Oct 21, 2024
1 parent c6b01af commit 763f60b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/MCMC-main.R
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ mcmcMain <- function(mutation_file,
dev.off()
}

if (length(all_spanning_trees[which(scores == max(scores))])) {
if (length(all_spanning_trees[which(scores == max(scores))])>1) {
png(paste(outputDir, "tree_ensemble.png", sep="/"))
plotEnsembleTree(all_spanning_trees, palette = viridis::viridis)
dev.off()
Expand Down

0 comments on commit 763f60b

Please sign in to comment.