Skip to content

Commit

Permalink
Add one more dplyr::
Browse files Browse the repository at this point in the history
  • Loading branch information
jpquast committed May 21, 2024
1 parent d11176a commit 01bca28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/calculate_go_enrichment.R
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ if you used the right organism ID.", prefix = "\n", initial = ""))

# move label if bar is less than 20% (default) of largest bar
plot_input <- plot_input %>%
mutate(hjust = ifelse((.data$neg_log_sig / max(.data$neg_log_sig)) < label_move_frac, -0.15, 1.05))
dplyr::mutate(hjust = ifelse((.data$neg_log_sig / max(.data$neg_log_sig)) < label_move_frac, -0.15, 1.05))

if (plot_style == "barplot") {
# Check if ggforce package is available. If not prompt user to install it.
Expand Down

0 comments on commit 01bca28

Please sign in to comment.