BrainSuite Statistics Toolbox in R

Overview

The BrainSuite Statistics toolbox allows the application of advanced statistical models to volumetric image, cortical surface and sulcal curve based outputs generated from BrainSuite. This enables population or group analysis of cortical or sulcal morphology. Some features of the toolbox are:

  • a manipulate morphological data using R
  • (coming soon) ability to plot graphs, charts and visualizations on surfaces

Available statistical models/tests are:

  • Pearson correlation
  • General linear model
  • ANOVA test
  • Paired sample t-test

Installation

Prerequisites

Ensure R is installed on your computer.
Install RStudio.
Download bssr version 0.1.1 and unzip the archive on your disk. Let’s say you unzipped it at /path/to/bssr on your computer.

Steps for installation

macOS/Linux

Open RStudio and type install.packages("devtools") to install devtools.
Then type devtools::install("/path/to/bssr") to install bssr.

Windows (make note of the two forward slashes in the path)

For RStudio, paths on Windows should be entered one of the following ways:
1. Use a single front slash
2. Or use a double back slash

For e.g.

Open RStudio and type install.packages("devtools") to install devtools.
Then type devtools::install("C://path//to//bssr") to install bssr.

or

type devtools::install("C:\path\to\bssr") to install bssr.

Check your installation

Type library(bssr).
Then type get_brainsuite_install_path().
This should display the BrainSuite installation path.