Plan Sample Size for Task fMRI Research using Bayesian Updating

Calculate the precision in mean differences (raw or Cohen's D) and correlation coefficients for different sample sizes. Uses permutations of the collected functional magnetic resonance imaging (fMRI) region of interest data. Method described in Klapwijk, Jongerling, Hoijtink and Crone (2024) .


neuroUp neuroUp website

R-CMD-check Codecov testcoverage DOI

Overview

The goal of neuroUp is to perform empirical sample size determination and Bayesian updating for region of interest based task-related fMRI studies. For a more elaborate introduction to the method, see our preprint:

Klapwijk, E. T., Jongerling, J., Hoijtink, H., & Crone, E. (2024, July 9). Sample size estimation for task-related functional MRI studies using Bayesian updating. https://doi.org/10.31234/osf.io/cz32t

Installation

Run the following in R:

install.packages("neuroUp")

Or you can install the latest development version of neuroUp from GitHub with:

install.packages("devtools")
devtools::install_github("eduardklap/neuroUp")

Then run the following to get started:

library(neuroUp)

Citation

To cite package neuroUp in publications use:

Klapwijk, E., Hoijtink, H., & Jongerling, J. (2024). neuroUp: Plan sample size for fMRI regions of interest research using Bayesian updating. https://doi.org/10.5281/zenodo.11526169

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("neuroUp")

0.3.1 by Eduard Klapwijk, 2 years ago


https://eduardklap.github.io/neuroUp/, https://github.com/eduardklap/neuroUp


Report a bug at https://github.com/eduardklap/neuroUp/issues


Browse source code at https://github.com/cran/neuroUp


Authors: Eduard Klapwijk [aut, cre, cph] , Herbert Hoijtink [aut, cph] , Joran Jongerling [aut, cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr, rlang, ggplot2, psychometric, tibble, magrittr, bootstrap

Suggests knitr, readr, rmarkdown, testthat, vdiffr


See at CRAN