Skip to content

Commit

Permalink
Suppress message from PLN getModel
Browse files Browse the repository at this point in the history
  • Loading branch information
rfriedman22 committed Dec 4, 2024
1 parent fdf52dc commit 21f93f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/cell_count_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ new_cell_count_model <- function(ccs,

# Choose a model that isn't very aggressively sparsified
best_reduced_model <- PLNmodels::getBestModel(reduced_pln_model, "EBIC")
best_reduced_model <- PLNmodels::getModel(reduced_pln_model, var=best_reduced_model$penalty * sparsity_factor)
best_reduced_model <- suppressMessages(suppressWarnings(PLNmodels::getModel(reduced_pln_model, var=best_reduced_model$penalty * sparsity_factor)))

# Choose a model that isn't very aggressively sparsified
#best_full_model <- PLNmodels::getBestModel(full_pln_model, "EBIC")
Expand Down

0 comments on commit 21f93f1

Please sign in to comment.