neuroUp

neuroUp: Plan Sample Size for fMRI Regions of Interest research using Bayesian updating

https://github.com/eduardklap/neuroup

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.4%) to scientific vocabulary
Last synced: 9 months ago · JSON representation ·

Repository

neuroUp: Plan Sample Size for fMRI Regions of Interest research using Bayesian updating

Basic Info
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 1
  • Releases: 1
Created almost 4 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License Citation

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# neuroUp neuroUp website


[![CRAN status](https://www.r-pkg.org/badges/version/neuroUp)](https://CRAN.R-project.org/package=neuroUp)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.11526169.svg)](https://doi.org/10.5281/zenodo.11526169)
[![R-CMD-check](https://github.com/eduardklap/neuroUp/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/eduardklap/neuroUp/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/eduardklap/neuroUp/branch/main/graph/badge.svg)](https://app.codecov.io/gh/eduardklap/neuroUp?branch=main)
[![FAIR checklist badge](https://fairsoftwarechecklist.net/badge.svg)](https://fairsoftwarechecklist.net/v0.2?f=31&a=32113&i=32220&r=133)


## 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 paper:

Klapwijk, E. T., Jongerling, J., Hoijtink, H., & Crone, E. A. (2025). Sample size estimation for task-related functional MRI studies using Bayesian updating. *Developmental Cognitive Neuroscience, 71*, 101489. https://doi.org/10.1016/j.dcn.2024.101489

## Installation

Run the following in R:

```r
install.packages("neuroUp")
```

Or you can install the latest development version of neuroUp from [GitHub](https://github.com/) with:

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

Then run the following to get started:

```r
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


Owner

  • Name: Eduard Klapwijk
  • Login: eduardklap
  • Kind: user
  • Location: Rotterdam, Netherlands
  • Company: Erasmus University Rotterdam

Research Data Steward + Developmental cognitive neuroscience postdoc at Erasmus University, Rotterdam, Netherlands

Citation (CITATION.cff)

# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
 
cff-version: 1.2.0
message: 'To cite package "neuroUp" in publications use:'
type: software
license: MIT
title: 'neuroUp: Plan Sample Size for Task fMRI Research using Bayesian Updating'
version: 0.3.1
doi: 10.5281/zenodo.11526169
abstract: 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) <https://doi.org/10.31234/osf.io/cz32t>.
authors:
- family-names: Klapwijk
  given-names: Eduard
  email: et.klapwijk@gmail.com
  orcid: https://orcid.org/0000-0002-8936-0365
- family-names: Hoijtink
  given-names: Herbert
  orcid: https://orcid.org/0000-0001-8509-1973
- family-names: Jongerling
  given-names: Joran
  orcid: https://orcid.org/0000-0001-5697-1381
preferred-citation:
  type: generic
  title: 'neuroUp: Plan sample size for fMRI regions of interest research using Bayesian
    updating'
  authors:
  - family-names: Klapwijk
    given-names: Eduard
    email: et.klapwijk@gmail.com
    orcid: https://orcid.org/0000-0002-8936-0365
  - family-names: Hoijtink
    given-names: Herbert
    orcid: https://orcid.org/0000-0001-8509-1973
  - family-names: Jongerling
    given-names: Joran
    orcid: https://orcid.org/0000-0001-5697-1381
  year: '2024'
  doi: 10.5281/zenodo.11526169
repository-code: https://github.com/eduardklap/neuroUp
url: https://eduardklap.github.io/neuroUp/
contact:
- family-names: Klapwijk
  given-names: Eduard
  email: et.klapwijk@gmail.com
  orcid: https://orcid.org/0000-0002-8936-0365
references:
- type: software
  title: dplyr
  abstract: 'dplyr: A Grammar of Data Manipulation'
  notes: Imports
  url: https://dplyr.tidyverse.org
  repository: https://CRAN.R-project.org/package=dplyr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: François
    given-names: Romain
    orcid: https://orcid.org/0000-0002-2444-4226
  - family-names: Henry
    given-names: Lionel
  - family-names: Müller
    given-names: Kirill
    orcid: https://orcid.org/0000-0002-1416-3412
  - family-names: Vaughan
    given-names: Davis
    email: davis@posit.co
    orcid: https://orcid.org/0000-0003-4777-038X
  year: '2024'
  doi: 10.32614/CRAN.package.dplyr
- type: software
  title: rlang
  abstract: 'rlang: Functions for Base Types and Core R and ''Tidyverse'' Features'
  notes: Imports
  url: https://rlang.r-lib.org
  repository: https://CRAN.R-project.org/package=rlang
  authors:
  - family-names: Henry
    given-names: Lionel
    email: lionel@posit.co
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2024'
  doi: 10.32614/CRAN.package.rlang
- type: software
  title: ggplot2
  abstract: 'ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics'
  notes: Imports
  url: https://ggplot2.tidyverse.org
  repository: https://CRAN.R-project.org/package=ggplot2
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
    orcid: https://orcid.org/0000-0003-4757-117X
  - family-names: Chang
    given-names: Winston
    orcid: https://orcid.org/0000-0002-1576-2126
  - family-names: Henry
    given-names: Lionel
  - family-names: Pedersen
    given-names: Thomas Lin
    email: thomas.pedersen@posit.co
    orcid: https://orcid.org/0000-0002-5147-4711
  - family-names: Takahashi
    given-names: Kohske
  - family-names: Wilke
    given-names: Claus
    orcid: https://orcid.org/0000-0002-7470-9261
  - family-names: Woo
    given-names: Kara
    orcid: https://orcid.org/0000-0002-5125-4188
  - family-names: Yutani
    given-names: Hiroaki
    orcid: https://orcid.org/0000-0002-3385-7233
  - family-names: Dunnington
    given-names: Dewey
    orcid: https://orcid.org/0000-0002-9415-4582
  - family-names: Brand
    given-names: Teun
    name-particle: van den
    orcid: https://orcid.org/0000-0002-9335-7468
  year: '2024'
  doi: 10.32614/CRAN.package.ggplot2
- type: software
  title: psychometric
  abstract: 'psychometric: Applied Psychometric Theory'
  notes: Imports
  repository: https://CRAN.R-project.org/package=psychometric
  authors:
  - family-names: Fletcher
    given-names: Thomas D.
  year: '2024'
  doi: 10.32614/CRAN.package.psychometric
- type: software
  title: tibble
  abstract: 'tibble: Simple Data Frames'
  notes: Imports
  url: https://tibble.tidyverse.org/
  repository: https://CRAN.R-project.org/package=tibble
  authors:
  - family-names: Müller
    given-names: Kirill
    email: kirill@cynkra.com
    orcid: https://orcid.org/0000-0002-1416-3412
  - family-names: Wickham
    given-names: Hadley
    email: hadley@rstudio.com
  year: '2024'
  doi: 10.32614/CRAN.package.tibble
- type: software
  title: magrittr
  abstract: 'magrittr: A Forward-Pipe Operator for R'
  notes: Imports
  url: https://magrittr.tidyverse.org
  repository: https://CRAN.R-project.org/package=magrittr
  authors:
  - family-names: Bache
    given-names: Stefan Milton
    email: stefan@stefanbache.dk
  - family-names: Wickham
    given-names: Hadley
    email: hadley@rstudio.com
  year: '2024'
  doi: 10.32614/CRAN.package.magrittr
- type: software
  title: bootstrap
  abstract: 'bootstrap: Functions for the Book "An Introduction to the Bootstrap"'
  notes: Imports
  url: https://gitlab.com/scottkosty/bootstrap
  repository: https://CRAN.R-project.org/package=bootstrap
  authors:
  - family-names: original
    given-names: S
  - family-names: StatLib
    given-names: from
  - family-names: Leisch.
    given-names: by Rob Tibshirani. R port by Friedrich
  year: '2024'
  doi: 10.32614/CRAN.package.bootstrap
- type: software
  title: knitr
  abstract: 'knitr: A General-Purpose Package for Dynamic Report Generation in R'
  notes: Suggests
  url: https://yihui.org/knitr/
  repository: https://CRAN.R-project.org/package=knitr
  authors:
  - family-names: Xie
    given-names: Yihui
    email: xie@yihui.name
    orcid: https://orcid.org/0000-0003-0645-5666
  year: '2024'
  doi: 10.32614/CRAN.package.knitr
- type: software
  title: readr
  abstract: 'readr: Read Rectangular Text Data'
  notes: Suggests
  url: https://readr.tidyverse.org
  repository: https://CRAN.R-project.org/package=readr
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  - family-names: Hester
    given-names: Jim
  - family-names: Bryan
    given-names: Jennifer
    email: jenny@posit.co
    orcid: https://orcid.org/0000-0002-6983-2759
  year: '2024'
  doi: 10.32614/CRAN.package.readr
- type: software
  title: rmarkdown
  abstract: 'rmarkdown: Dynamic Documents for R'
  notes: Suggests
  url: https://pkgs.rstudio.com/rmarkdown/
  repository: https://CRAN.R-project.org/package=rmarkdown
  authors:
  - family-names: Allaire
    given-names: JJ
    email: jj@posit.co
  - family-names: Xie
    given-names: Yihui
    email: xie@yihui.name
    orcid: https://orcid.org/0000-0003-0645-5666
  - family-names: Dervieux
    given-names: Christophe
    email: cderv@posit.co
    orcid: https://orcid.org/0000-0003-4474-2498
  - family-names: McPherson
    given-names: Jonathan
    email: jonathan@posit.co
  - family-names: Luraschi
    given-names: Javier
  - family-names: Ushey
    given-names: Kevin
    email: kevin@posit.co
  - family-names: Atkins
    given-names: Aron
    email: aron@posit.co
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  - family-names: Cheng
    given-names: Joe
    email: joe@posit.co
  - family-names: Chang
    given-names: Winston
    email: winston@posit.co
  - family-names: Iannone
    given-names: Richard
    email: rich@posit.co
    orcid: https://orcid.org/0000-0003-3925-190X
  year: '2024'
  doi: 10.32614/CRAN.package.rmarkdown
- type: software
  title: testthat
  abstract: 'testthat: Unit Testing for R'
  notes: Suggests
  url: https://testthat.r-lib.org
  repository: https://CRAN.R-project.org/package=testthat
  authors:
  - family-names: Wickham
    given-names: Hadley
    email: hadley@posit.co
  year: '2024'
  doi: 10.32614/CRAN.package.testthat
  version: '>= 3.0.0'
- type: software
  title: vdiffr
  abstract: 'vdiffr: Visual Regression Testing and Graphical Diffing'
  notes: Suggests
  url: https://vdiffr.r-lib.org/
  repository: https://CRAN.R-project.org/package=vdiffr
  authors:
  - family-names: Henry
    given-names: Lionel
    email: lionel@posit.co
  - family-names: Pedersen
    given-names: Thomas Lin
    email: thomas.pedersen@posit.co
    orcid: https://orcid.org/0000-0002-5147-4711
  - family-names: Luciani
    given-names: T Jake
    email: jake@apache.org
  - family-names: Decorde
    given-names: Matthieu
    email: matthieu.decorde@ens-lyon.fr
  - family-names: Lise
    given-names: Vaudor
    email: lise.vaudor@ens-lyon.fr
  year: '2024'
  doi: 10.32614/CRAN.package.vdiffr
- type: software
  title: 'R: A Language and Environment for Statistical Computing'
  notes: Depends
  url: https://www.R-project.org/
  authors:
  - name: R Core Team
  institution:
    name: R Foundation for Statistical Computing
    address: Vienna, Austria
  year: '2024'
  version: '>= 2.10'

GitHub Events

Total
  • Push event: 4
Last Year
  • Push event: 4

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 2
  • Total pull requests: 4
  • Average time to close issues: about 18 hours
  • Average time to close pull requests: less than a minute
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.5
  • Average comments per pull request: 0.0
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 0
  • Average time to close issues: about 18 hours
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.5
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • eduardklap (2)
Pull Request Authors
  • eduardklap (4)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 180 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: neuroUp

Plan Sample Size for Task fMRI Research using Bayesian Updating

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 180 Last month
Rankings
Dependent packages count: 28.3%
Dependent repos count: 35.0%
Average: 50.0%
Downloads: 86.7%
Maintainers (1)
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • dplyr * imports
  • ggplot2 * imports
  • psychometric * imports
  • tibble * imports
  • tidyr * imports
  • testthat >= 3.0.0 suggests