spant
spant: An R package for magnetic resonance spectroscopy analysis - Published in JOSS (2021)
Science Score: 95.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 8 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: wiley.com, joss.theoj.org -
✓Committers with academic emails
2 of 6 committers (33.3%) from academic institutions -
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
brain
cran
mri
mrs
mrshub
spectroscopy
Last synced: 4 months ago
·
JSON representation
Repository
Tools for reading, visualising and processing Magnetic Resonance Spectroscopy data
Basic Info
- Host: GitHub
- Owner: martin3141
- License: gpl-3.0
- Language: R
- Default Branch: master
- Homepage: https://martin3141.github.io/spant
- Size: 97.3 MB
Statistics
- Stars: 27
- Watchers: 4
- Forks: 6
- Open Issues: 0
- Releases: 67
Topics
brain
cran
mri
mrs
mrshub
spectroscopy
Created about 9 years ago
· Last pushed 5 months ago
Metadata Files
Readme
Changelog
Contributing
License
README.Rmd
---
output: github_document
---
```{r setup, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-",
fig.width = 6,
fig.height = 5
)
```
# Spectroscopy Analysis Tools (spant)
[](https://github.com/martin3141/spant/actions)
[](https://doi.org/10.21105/joss.03646)
[](https://cran.r-project.org/package=spant)
[](https://cran.r-project.org/package=spant)
## Overview
spant provides a full suite of tools to build automated analysis pipelines for Magnetic Resonance Spectroscopy (MRS) data. The following features and algorithms are included:
* Advanced fully-automated metabolite fitting algorithm - ABfit https://onlinelibrary.wiley.com/doi/10.1002/mrm.28385, https://onlinelibrary.wiley.com/doi/10.1002/mrm.30462.
* Robust retrospective frequency and phase correction - RATS https://onlinelibrary.wiley.com/doi/abs/10.1002/mrm.27605.
* Support for common MRS data formats including read / write NIfTI MRS - https://onlinelibrary.wiley.com/doi/10.1002/mrm.29418.
* Flexible data types to support single voxel, dynamic and spectroscopic imaging.
* Raw data import from individual coils and dynamic measurements, eg support for importing individual FIDs from Siemens TWIX formatted data.
* Publication quality plotting.
* Extensive set of pre-processing steps (phasing, coil-combination, zero-filling, HSVD filtering...).
* Quantum mechanical based simulation for experimental design and basis-set generation.
* Set of metabolite, macromolecule and lipid parameters for typical brain analyses.
* Voxel registration to anatomical images for partial volume concentration corrections.
## Documentation
The [online spant user manual](https://spantdoc.wilsonlab.co.uk/) ([pdf version](https://spantdoc.wilsonlab.co.uk/spant-User-Manual.pdf)) is written for users with minimal experience in R or MRS processing and is the best place to start.
For more advanced users, help developing custom analysis pipeline can be found
below.
Introduction : https://martin3141.github.io/spant/articles/spant-intro.html
Short tutorials : https://martin3141.github.io/spant/articles/
Function reference : https://martin3141.github.io/spant/reference/
Once the spant library has been loaded with `library(spant)`, type `?spant` on the console for instructions on how to access the offline documentation. Note that offline help on the available functions can be quickly shown in RStudio using `?function_name`, eg `?read_mrs`.
## Basic installation
Download and install the latest version of R (https://cloud.r-project.org/), or with your package manager if using a recent Linux distribution, eg `sudo apt install r-base`.
It is also strongly recommended to install RStudio Desktop (https://rstudio.com/products/rstudio/download) to provide a modern environment for interactive data analysis.
Once R and RStudio have been installed, open the RStudio application and type the following in the Console (lower left panel) to install the latest stable version of spant:
```{r cran, eval = FALSE}
install.packages("spant", dependencies = TRUE)
```
Or the the development version from GitHub (requires the `devtools` package):
```{r github, eval = FALSE}
install.packages("devtools")
devtools::install_github("martin3141/spant", ref = "devel", dependencies = TRUE)
```
Owner
- Name: Martin Wilson
- Login: martin3141
- Kind: user
- Location: Birmingham
- Company: University of Birmingham
- Website: wilsonlab.co.uk
- Twitter: martinw3141
- Repositories: 21
- Profile: https://github.com/martin3141
MR Physicist at CHBH, University of Birmingham
JOSS Publication
spant: An R package for magnetic resonance spectroscopy analysis
Published
November 02, 2021
Volume 6, Issue 67, Page 3646
Authors
Tags
spectroscopy MRS NMR medical imaging neuroimagingPapers & Mentions
Total mentions: 1
Mapping of Metabolic Heterogeneity of Glioma Using MR-Spectroscopy
- DOI: 10.3390/cancers13102417
- OpenAlex ID: https://openalex.org/W3162584977
- Published: May 2021
Last synced: 3 months ago
GitHub Events
Total
- Create event: 5
- Issues event: 2
- Release event: 4
- Watch event: 4
- Issue comment event: 4
- Push event: 194
Last Year
- Create event: 5
- Issues event: 2
- Release event: 4
- Watch event: 4
- Issue comment event: 4
- Push event: 194
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Martin Wilson | m****n@p****k | 1,971 |
| muschellij2 | m****2@g****m | 9 |
| Martin Wilson (Psychology) | m****n@b****k | 9 |
| alexcraven | 1****n | 2 |
| Martin Wilson | m****n@M****l | 1 |
| Martin Wilson | m****n@B****K | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 9
- Total pull requests: 4
- Average time to close issues: 5 days
- Average time to close pull requests: 1 day
- Total issue authors: 6
- Total pull request authors: 2
- Average comments per issue: 2.56
- Average comments per pull request: 0.5
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 0
- Average time to close issues: about 22 hours
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 2.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- slieped (3)
- TKoscik (2)
- jonclayden (1)
- grandjeanlab (1)
- joaomcteixeira (1)
- teddychao (1)
Pull Request Authors
- muschellij2 (3)
- alexcraven (1)
Top Labels
Issue Labels
enhancement (1)
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 1,077 last-month
- Total docker downloads: 20,358
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 70
- Total maintainers: 1
cran.r-project.org: spant
MR Spectroscopy Analysis Tools
- Homepage: https://spantdoc.wilsonlab.co.uk/
- Documentation: http://cran.r-project.org/web/packages/spant/spant.pdf
- License: GPL-3
-
Latest release: 3.5.0
published 5 months ago
Rankings
Forks count: 10.1%
Stargazers count: 12.6%
Downloads: 15.8%
Average: 20.7%
Dependent packages count: 29.8%
Dependent repos count: 35.5%
Maintainers (1)
Last synced:
4 months ago
Dependencies
.github/workflows/check-standard.yaml
actions
- actions/checkout v3 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
DESCRIPTION
cran
- R >= 2.10 depends
- RNifti * imports
- RNiftyReg * imports
- abind * imports
- expm * imports
- fields * imports
- grDevices * imports
- graphics * imports
- irlba * imports
- jsonlite * imports
- minpack.lm * imports
- mmand * imports
- nloptr * imports
- numDeriv * imports
- plyr * imports
- pracma * imports
- ptw * imports
- signal * imports
- smoother * imports
- stringr * imports
- utils * imports
- doParallel * suggests
- knitr * suggests
- miniUI * suggests
- ragg * suggests
- rmarkdown * suggests
- shiny * suggests
- testthat * suggests
- viridisLite * suggests
