Skip to content

Commit bc4d211

Browse files
committed
fix bug commenting out examples in documentation
1 parent 43a996c commit bc4d211

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

R/create_plots.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#' @export
2121
#'
2222
#' @examples
23-
#' Example usage
23+
#' # Example usage
2424
#' create_plots(pd)
2525
create_plots <- function(plot_data_list, plot_type = 'simci', effect_type = 'd', do_multivariate = FALSE, add_description = FALSE, do_minimal_title = FALSE, summary_info = NULL) {
2626

R/meta_analysis.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#' @export
1414
#'
1515
#' @examples
16-
#' Example usage
16+
#' # Example usage
1717
#' meta_analysis(v,v$brain_masks, "pooling.none.motion.none.mv.none")
1818
meta_analysis <- function(v, brain_masks, combo_name, grouping_var = "category") {
1919

R/plot_helpers.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#' @export
4242
#'
4343
#' @examples
44-
#' Example usage
44+
#' # Example usage
4545
#' plot_simci_panel(plot_data)
4646
plot_simci_panel <- function(pp, plot_data_list) {
4747

@@ -135,7 +135,7 @@ plot_simci_panel <- function(pp, plot_data_list) {
135135
#' @export
136136
#'
137137
#' @examples
138-
#' Example usage
138+
#' # Example usage
139139
#' plot_density_panel(plot_data)
140140
plot_density_panel <- function(pp, plot_data_list, use_effect_size_bin = FALSE) {
141141

@@ -304,7 +304,7 @@ plot_density_panel <- function(pp, plot_data_list, use_effect_size_bin = FALSE)
304304
#' @export
305305
#'
306306
#' @examples
307-
#' Example usage
307+
#' # Example usage
308308
#' plot_activation_maps(plot_data)
309309
plot_activation_panel <- function(pp, plot_data_list, threshold_category = NA) {
310310

@@ -549,7 +549,7 @@ colorbar_custom <- function(breaks, #the minimum and maximum z values for which
549549
#' @export
550550
#'
551551
#' @examples
552-
#' Example usage
552+
#' # Example usage
553553
#' plot_connectivity_panel(plot_data)
554554
plot_connectivity_panel <- function(pp, plot_data_list, threshold_category = NA) {
555555

@@ -1016,7 +1016,7 @@ plot_power_panel <- function(pp, plot_data_list, output_type, use_category_bins
10161016
#' @export
10171017
#'
10181018
#' @examples
1019-
#' Example usage
1019+
#' # Example usage
10201020
#' get_summary_info(pp, study_details, extra_study_details)
10211021
get_summary_info <- function(study_details, extra_study_details) {
10221022

@@ -1118,7 +1118,7 @@ combine_summary_info <- function(summary_info) {
11181118
#' @export
11191119
#'
11201120
#' @examples
1121-
#' Example usage
1121+
#' # Example usage
11221122
#' add_plot_description(p, pp, study_details, extra_study_details)
11231123
add_plot_description <- function(p, pp, summary_info, add_extra_text, do_minimal_title) {
11241124

R/prep_data_for_plot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#' @export
1616
#'
1717
#' @examples
18-
#' Example usage
18+
#' # Example usage
1919
#' pd <- prep_data_for_plot(data = v$data[[i]], study_details = v$study[i, ],
2020
#' plot_info$grouping_var='none',
2121
#' combo_name = "pooling.none.motion.none.mv.none",

R/prep_data_for_spatial_plot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#' @export
1616
#'
1717
#' @examples
18-
#' Example usage
18+
#' # Example usage
1919
#' pd <- prep_data_for_spatial_plot(data = v$data[[i]],
2020
#' study_details = v$study[i, ], plot_info$grouping_var='none',
2121
#' combo_name = "pooling.none.motion.none.mv.none",

0 commit comments

Comments
 (0)