Skip to content

Commit

Permalink
fix dplyr bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jgockley62 committed Jun 6, 2024
1 parent f9562db commit c49777e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/visualization-functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ plot_sexcheck_pca <- function(clean_metadata, count_df, biomart_results,
matrix(
NA,
nrow = filt_pcs,
ncol = 0)
ncol = 1)
) %>%
dplyr::mutate(
.,
Expand Down Expand Up @@ -1022,7 +1022,7 @@ plot_sexcheck_pca <- function(clean_metadata, count_df, biomart_results,
method='kendall')$statistic
)))
)

test_vals <- test_vals[, c('xist_pval','xist_coeff','uty_pval','uty_coeff') ]
# adjust P-values for multiple comparisons
test_vals$xist_pval <- stats::p.adjust(
p = test_vals$xist_pval,
Expand Down

0 comments on commit c49777e

Please sign in to comment.