This repository contains code used in the analysis of QPN-Neuroimaging cohort (QPN-NC) data-release. QPN-NC imaging data was curated (BIDS) and processed with several pipelines using Nipoppy tools.
The image processing pipelines include:
- MRIQC: Image quality metrics (IQMs) of T1w and bold
- FreeSurfer*: cortical surface and subcortical volumetric measures
- fMRIPrep: resting-state functional connectome
- TractoFlow: white-matter tractography using diffusion data
- MAGET Brain: cerebellar segmentation and volumetry
Nipoppy uses containers and Boutiques to describe and track runtime parameters of these pipelines. This ensures the standardization and reproducibility and allows other users to implement identical processing setup for their data. The pipeline descriptors and run-time invocation configurations are provide in pipeline directory.
Jupyter notebooks for descriptive statistics and plotting of IDPs generated from the output of these pipelines is provided in idp.
Jupyter notebook for descriptive statistics and plotting of clinical scores (i.e. UPDRS, MoCA, Neuropsychological battery) is provied in clinical_assessments.
Statistical normalization of raw scores was performed for a subset of neuropsychological instruments using methods based on prior work and literature. The normalization method and "normed" scores are provided inside the tabular directory the QPN-NC data release.
The code expects the following data organization according Nipoppy specification:
The local dataset root path is then specified inside a local_config.json which is read by all the notebooks. This file can be used to specify other configs (e.g. color palettes) as well.
Here is a sample local_config.json:
{
"DATASET_NAME": "QPN-NC",
"DATASET_RELEASE: "R1"
"DATASET_DIR": "<>/QPN-NC-R1/",
"plot_styles": {
"DX_COLOR_PALETTE": {
"control": "#8d99ae",
"PD": "#e63946"
}
}
}
The environment setup for running the processing pipelines with Nipoppy is described here: Nipoppy installation
The additional Python packages for analysis and plotting code in this repo are listed here: pyproject.toml
