Skip to content

Commit

Permalink
use dplyr::where
Browse files Browse the repository at this point in the history
  • Loading branch information
pdiakumis committed Dec 15, 2024
1 parent c704354 commit 004cb52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/chord.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ chord_run <- function(vcf.snv = NULL, vcf.sv = NULL, df.sv = NULL,
do.bootstrap = TRUE, verbose = FALSE
) |>
dplyr::mutate(
dplyr::across(tidyselect::vars_select_helpers$where(is.numeric), round, 3)
dplyr::across(dplyr::where(is.numeric), \(x) round(x, 3))
)

# custom order of prediction cols
Expand Down

0 comments on commit 004cb52

Please sign in to comment.