Skip to content

brainlife/app-cortex-tissue-mapping-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abcdspec-compliant Run on Brainlife.io

Compute summary statistics of diffusion measures mapped to cortical surface

This app will compute multiple summary statistics from measures mapped to the cortical midthickness surface on a per-ROI basis. This app takes in a cortexmap datatype and an optional parcellation/surface datatype. This app will compute the following summary statistics: minimum, maximum, mean, median, mode, standard deviation, sample standard deviation (n-1), and nonzero vertex count. The app will output a csv for each summary measure summarizing the diffusion measures in each ROI parcellation. If no parcellation surface is inputted, the app will just compute stats from the labels file found in the cortexmap datatype (usually aparc.a2009s.labels.gii). These csvs can be used for computing group averages and for performing machine learning analyses.

Authors

Contributors

Funding

NSF-BCS-1734853 NSF-BCS-1636893 NSF-ACI-1916518 NSF-IIS-1912270 NIH-NIBIB-R01EB029272

Citations

Please cite the following articles when publishing papers that used data, code or other resources created by the brainlife.io community.

Fukutomi, H. et al. Neurite imaging reveals microstructural variations in human cerebral cortical gray matter. Neuroimage (2018). doi:10.1016/j.neuroimage.2018.02.017

Avesani, P., McPherson, B., Hayashi, S. et al. The open diffusion data derivatives, brain data upcycling via integrated publishing of derivatives and reproducible open cloud services. Sci Data 6, 69 (2019). https://doi.org/10.1038/s41597-019-0073-y

Running the App

On Brainlife.io

You can submit this App online at https://doi.org/10.25663/brainlife.app.383 via the 'Execute' tab.

Running Locally (on your machine)

  1. git clone this repo

  2. Inside the cloned directory, create config.json with something like the following content with paths to your input files.

{ 
  "cortexmap": "./inputdata/cortexmap",
  "_inputs": [
        {
            "id": "cortexmap",
            "meta": {
                "subject": "subj001",
                "session": "1"
                    }
        }
    ]
} 

Sample Datasets

You can download sample datasets from Brainlife using Brainlife CLI.

npm install -g brainlife 
bl login 
mkdir input 
bl dataset download 
  1. Launch the App by executing 'main'
./main 

Output

The main output is a folder called 'parc-stats' with csv's for each summary measure and parcellation inputted

Product.json

The secondary output of this app is product.json. This file allows web interfaces, DB and API calls on the results of the processing.

Dependencies

This App requires the following libraries when run locally.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published