Skip to content

Commit 89bf782

Browse files
committed
fix failed tests on commit
1 parent dd2f47c commit 89bf782

File tree

8 files changed

+23
-9
lines changed

8 files changed

+23
-9
lines changed

.github/workflows/R-CMD-check.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ jobs:
4747
"graphics",
4848
"utils",
4949
"colorspace",
50-
"png"
50+
"png",
51+
"ggpubr",
52+
"devtools"
5153
))
5254
remotes::install_deps(dependencies = TRUE)
5355
shell: Rscript {0}

DESCRIPTION

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ Imports:
2020
graphics,
2121
utils,
2222
colorspace,
23-
png
23+
png,
24+
ggpubr,
25+
devtools
2426
Roxygen: list(markdown = TRUE)
2527
RoxygenNote: 7.3.2
2628
Suggests:

R/plot_helpers.R

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ plot_density_panel <- function(pp, plot_data_list, use_effect_size_bin = FALSE)
299299
#' - `summary_info`: A list containing extra descriptive info: percent_not_zero, max_cons_effect, group_by_title, and n_title
300300
#' - `mv_data`: A list containing multivariate effect size data: estimate, lb, and ub
301301
#' - `study_details`: A list of original study details: orig_stat_type, test_component_1, test_component_2, dataset, map_type, group, and ref
302+
#' @param threshold_category A threshold category for plots.
302303
#'
303304
#' @return A ggplot object containing one or overlapping densities
304305
#' @export
@@ -544,6 +545,7 @@ colorbar_custom <- function(breaks, #the minimum and maximum z values for which
544545
#' - `summary_info`: A list containing extra descriptive info: percent_not_zero, max_cons_effect, group_by_title, and n_title
545546
#' - `mv_data`: A list containing multivariate effect size data: estimate, lb, and ub
546547
#' - `study_details`: A list of original study details: orig_stat_type, test_component_1, test_component_2, dataset, map_type, group, and ref
548+
#' @param threshold_category An optional threshold category
547549
#'
548550
#' @return A ggplot object containing one or overlapping densities
549551
#' @export
@@ -1008,7 +1010,6 @@ plot_power_panel <- function(pp, plot_data_list, output_type, use_category_bins
10081010
#'
10091011
#' This function gets summary info to a ggplot object.
10101012
#'
1011-
#' @param p A ggplot object to which the labels will be added.
10121013
#' @param study_details A list of original study details: orig_stat_type, test_component_1, test_component_2, dataset, map_type, group, and ref.
10131014
#' @param extra_study_details A list containing extra descriptive info: percent_not_zero, max_cons_effect, group_by_title, n_title, mv_estimate, and mv_ci.
10141015
#'
@@ -1111,8 +1112,10 @@ combine_summary_info <- function(summary_info) {
11111112
#' This function adds summary labels to a ggplot object.
11121113
#'
11131114
#' @param p A ggplot object to which the labels will be added.
1114-
#' @param study_details A list of original study details: orig_stat_type, test_component_1, test_component_2, dataset, map_type, group, and ref.
1115-
#' @param extra_study_details A list containing extra descriptive info: percent_not_zero, max_cons_effect, group_by_title, n_title, mv_estimate, and mv_ci.
1115+
#' @param pp A list of plotting parameters.
1116+
#' @param summary_info A list of summary info for the plot.
1117+
#' @param add_extra_text Whether to add extra text below plot with more info.
1118+
#' @param do_minimal_title Whether to use minimal title option.
11161119
#'
11171120
#' @return A ggplot object with summary labels.
11181121
#' @export

demo/00Index

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
main_figure_generator generates figures for BrainEffeX using utils package

man/add_plot_description.Rd

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/get_summary_info.Rd

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/plot_activation_panel.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/plot_connectivity_panel.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)