Skip to content

neurodatascience/qpn_analysis

Repository files navigation

qpn-analysis

Overview

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.

Processing pipelines

The image processing pipelines include:

  1. MRIQC: Image quality metrics (IQMs) of T1w and bold
  2. FreeSurfer*: cortical surface and subcortical volumetric measures
  3. fMRIPrep: resting-state functional connectome
  4. TractoFlow: white-matter tractography using diffusion data
  5. 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.

Image-derived-phenotypes (IDPs)

Jupyter notebooks for descriptive statistics and plotting of IDPs generated from the output of these pipelines is provided in idp.

Clinical assessments (tabular data)

Jupyter notebook for descriptive statistics and plotting of clinical scores (i.e. UPDRS, MoCA, Neuropsychological battery) is provied in clinical_assessments.

Normalization of neuropsychological 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.

How to run the analysis code

Dataset organization

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"
        }
    }
}

Environment dependencies

Curation and processing pipelines

The environment setup for running the processing pipelines with Nipoppy is described here: Nipoppy installation

Statistical analysis and plotting

The additional Python packages for analysis and plotting code in this repo are listed here: pyproject.toml

About

Analysis repo for QPN-NC dataset paper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published