Skip to content

Commit

Permalink
fix test warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sheridar committed Jun 19, 2023
1 parent 99f1745 commit f76c26b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/calc-gene-usage.R
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ plot_gene_pairs <- function(input, data_col, chains, cluster_col = NULL,
n_lab_dat$legend <- n_lab_dat$axis <- n_lab_dat$corner

if ((!is.null(grp_col) || !is.null(clst_col)) && identical(method, "bar")) {
n_lab_dat$axis <- dplyr::rename(df_in, .n = .data$freq)
n_lab_dat$axis <- dplyr::rename(df_in, .n = "freq")
}

# Set common arguments
Expand Down
2 changes: 1 addition & 1 deletion R/import-vdj.R
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ import_vdj <- function(input = NULL, vdj_dir = NULL, prefix = "",
# contigs that did not have any mutations will have NAs
indel_ctigs <- purrr::map(
indel_ctigs,
~ mutate(.x, dplyr::across(all_of(indel_cols), tidyr::replace_na, 0))
~ mutate(.x, dplyr::across(all_of(indel_cols), ~ tidyr::replace_na(.x, 0)))
)

contigs <- indel_ctigs
Expand Down

0 comments on commit f76c26b

Please sign in to comment.