Skip to content

Commit

Permalink
Merge pull request #6 from Phuong-Le/develop
Browse files Browse the repository at this point in the history
MAINT: fix deprecation in dplyr
  • Loading branch information
Phuong-Le authored Aug 22, 2023
2 parents 06ac6fd + e8d38a3 commit 3710047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/gen_contexts.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ gen_contexts = function(k) {
reordered_cols = c(sapply(1:flank, function(x) paste0("left_", x)),
"muts",
sapply(1:flank, function(x) paste0("right_", x)))
kmers = dplyr::select(kmers, reordered_cols)
kmers = dplyr::select(kmers, all_of(reordered_cols))

combine_mut_context = function(mut_context) {
mut_context = append(mut_context, "]", after = (flank + 1))
Expand Down

0 comments on commit 3710047

Please sign in to comment.