bayesfmri

BayesfMRI R package

https://github.com/mandymejia/bayesfmri

Science Score: 39.0%

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

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

Repository

BayesfMRI R package

Basic Info
  • Host: GitHub
  • Owner: mandymejia
  • License: gpl-3.0
  • Language: HTML
  • Default Branch: master
  • Homepage:
  • Size: 1.76 GB
Statistics
  • Stars: 29
  • Watchers: 3
  • Forks: 9
  • Open Issues: 3
  • Releases: 3
Created about 7 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.Rmd

---
output: github_document
---



# BayesfMRI BayesfMRI sticker


[![CRAN status](https://www.r-pkg.org/badges/version/BayesfMRI)](https://cran.r-project.org/package=BayesfMRI)
[![R-CMD-check](https://github.com/mandymejia/BayesfMRI/workflows/R-CMD-check/badge.svg)](https://github.com/mandymejia/BayesfMRI/actions)
[![Codecov test coverage](https://codecov.io/gh/mandymejia/BayesfMRI/branch/master/graph/badge.svg)](https://app.codecov.io/gh/mandymejia/BayesfMRI?branch=master)


The `BayesfMRI` R package includes the main function `BayesGLM`, which implements a spatial Bayesian GLM for task fMRI. It also contains a wrapper function `BayesGLM_cifti`, for CIFTI cortical surface fMRI data.



## Citation

If you use `BayesfMRI` please cite the following papers:


| Name | APA Citation |
| -------------  | ------------- |
| [Spatial Bayesian GLM](https://doi.org/10.1080/01621459.2019.1611582) | Mejia, A. F., Yue, Y., Bolin, D., Lindgren, F., & Lindquist, M. A. (2020). A Bayesian general linear modeling approach to cortical surface fMRI data analysis. Journal of the American Statistical Association, 115(530), 501-520. | 
| [Multi-session Spatial Bayesian GLM](https://doi.org/10.1016/j.neuroimage.2022.118908) | Spencer, D., Yue, Y. R., Bolin, D., Ryan, S., & Mejia, A. F. (2022). Spatial Bayesian GLM on the cortical surface produces reliable task activations in individuals and groups. NeuroImage, 249, 118908. | 

You can also obtain citation information from within R like so:

``` r
citation("BayesfMRI")
```

## Installation

You can install `BayesfMRI` from [CRAN](https://cran.r-project.org/) with:

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

## Vignette

See [this link](https://htmlpreview.github.io/?https://github.com/mandymejia/BayesfMRI/blob/10.0/vignettes/BayesfMRI_vignette.html) to view the tutorial vignette.

## Important Note on Dependencies:

`BayesfMRI` depends on the `ciftiTools` package, which requires an installation of Connectome Workbench.  It can be installed from the [HCP website](https://www.humanconnectome.org/software/get-connectome-workbench).



The INLA package is required, which, due to a CRAN policy, will not be installed automatically. You can obtain it by running `install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"), dep=FALSE) `. For more information, see [the INLA website](https://www.r-inla.org/download-install).  **Note: INLA must be installed before installing `BayesfMRI`.**
 
On Mac platforms, an installation of [Xcode](https://mac.r-project.org/tools/) is necessary to build the C++ code included in `BayesfMRI`. 


Owner

  • Name: Mandy Mejia
  • Login: mandymejia
  • Kind: user
  • Location: Bloomington, IN, USA
  • Company: Indiana University Department of Statistics

Assistant Professor in the Department of Statistics at Indiana University. PI of the StatMIND (Statistical Methods for Individualized Neuro-Discovery) lab.

GitHub Events

Total
  • Create event: 3
  • Release event: 1
  • Issues event: 3
  • Watch event: 5
  • Issue comment event: 10
  • Push event: 19
  • Pull request event: 2
  • Fork event: 2
Last Year
  • Create event: 3
  • Release event: 1
  • Issues event: 3
  • Watch event: 5
  • Issue comment event: 10
  • Push event: 19
  • Pull request event: 2
  • Fork event: 2

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 3
  • Total pull requests: 1
  • Average time to close issues: 9 months
  • Average time to close pull requests: less than a minute
  • Total issue authors: 3
  • Total pull request authors: 1
  • Average comments per issue: 1.33
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 1
  • Average time to close issues: 7 days
  • Average time to close pull requests: less than a minute
  • Issue authors: 2
  • Pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • JAQuent (1)
  • edc5208 (1)
Pull Request Authors
  • damondpham (4)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 176 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 3
  • Total maintainers: 1
cran.r-project.org: BayesfMRI

Spatial Bayesian Methods for Task Functional MRI Studies

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 176 Last month
Rankings
Forks count: 11.0%
Stargazers count: 12.7%
Average: 26.6%
Dependent packages count: 28.3%
Dependent repos count: 36.9%
Downloads: 44.3%
Maintainers (1)
Last synced: 11 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.6.0 depends
  • INLA >= 0.0 imports
  • MASS * imports
  • Matrix * imports
  • Rcpp * imports
  • RcppEigen * imports
  • ciftiTools * imports
  • excursions * imports
  • foreach * imports
  • matrixStats * imports
  • neuRosim * imports
  • sp * imports
  • stats * imports
  • utils * imports
  • abind * suggests
  • dplyr * suggests
  • geometry * suggests
  • ggplot2 * suggests
  • grDevices * suggests
  • knitr * suggests
  • parallel * suggests
  • purrr * suggests
  • rdist * suggests
  • rmarkdown * suggests
  • testthat >= 2.1.0 suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-r v1 composite
  • r-lib/actions/setup-r-dependencies v1 composite