Skip to content

Commit

Permalink
printing update
Browse files Browse the repository at this point in the history
  • Loading branch information
nicola-calonaci committed Apr 3, 2024
1 parent 5e67973 commit 08c5ceb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions R/print.INCOMMON.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ print.INCOMMON = function(x, ...) {
))


cli::cli_alert_info('There are: ')
for (state in c('HMD', 'LOH', 'CNLOH', 'AM', 'Tier-2')) {
N = classification(x) %>% dplyr::filter(state == !!state) %>% nrow()
cli::cli_bullets(c("*" = paste0("N = ", N, ' mutations (', state, ')')))
}


print(classification(x))
} else{

Expand Down

0 comments on commit 08c5ceb

Please sign in to comment.