Normative Brain Volumes Stats, multiple datasets

Build normative brain volule stats from one or several datasets.

Description

Use case

The normative stats are used by the process morpho_report. This process is a more complete version of normative_brainvolumes_stats. It is able to handle several normative datasets, several covariables table per dataset, and covariables conversion/transformation.
However its input is a YAML config file which needs to be written beforehand.

Dataset YAML file

The dataset_description file is a YAML dictionary, which is expected to contain a list of datasets descriptions.

Syntax

Example

ABCD:
  variables:
    age:
      local:
        ab_g_dyn__visit_age:
          filename: /home/denis/data/abcd/phenotype/ab_g_dyn.tsv
          filter:
            session_id: ses-00A
      TGCC irene:
        - ab_g_dyn__visit_age:
            filename: /ccc/workflash/cont003/n4habcd/n4habcd/abcd/phenotype/ab_g_dyn.tsv
            filter:
              session_id: ses-00A
        - interview_age (months): /ccc/workflash/cont003/n4habcd/n4habcd/archives/r5/phenotype/core/abcd-general/abcd_y_lt.csv
    sex:
      local:
        "ab_g_stc__cohort_sex (1: M, 2: F)": /home/denis/data/abcd/phenotype/ab_g_stc.tsv
      TGCC irene:
        - "ab_g_stc__cohort_sex (1: M, 2: F)": /ccc/workflash/cont003/n4habcd/n4habcd/abcd/phenotype/ab_g_stc.tsv
        - demo_sex_v2,demo_gender_id_v2: /ccc/workflash/cont003/n4habcd/n4habcd/archives/r5/phenotype/core/abcd-general/abcd_p_demo.csv

  brain_morphometry:
      local:
        filename: /home/denis/data/abcd/morphometry/brainvolumes_abcd.csv
        sub-prefix: sub-NDARINV
      NS:
        filename: /neurospin/dico/denis/abcd/brainvolumes_abcd.csv
        sub-prefix: sub-NDARINV

UKB:
  variables:
    age, sex:
      local:
        age: /home/denis/data/ukb/participants.tsv
        Sex: /home/denis/data/ukb/participants.tsv
      NS:
        age: /neurospin/dico/data/human/UKBioBank/participants.tsv
        Sex: /neurospin/dico/data/human/UKBioBank/participants.tsv
  brain_morphometry:
    local:
      /home/denis/data/ukb/morphometry/brain_volumes.csv

HCP:
  variables:
    age, sex:
      local:
        Age: /home/denis/data/hcp/participants.csv
        Gender: /home/denis/data/hcp/participants.csv
      NS:
        Age: /neurospin/dico/data/human/hcp/participants.csv
        Gender: /neurospin/dico/data/human/hcp/participants.csv
      TGCC irene:
        Age: /ccc/workflash/cont003/n4hhcp/n4hhcp/hcp/participants.csv
        Gender: /ccc/workflash/cont003/n4hhcp/n4hhcp/hcp/participants.csv
  brain_morphometry:
    local:
      /home/denis/data/hcp/3T_morphologist/morphometry/brain_volumes.csv
    NS:
      /neurospin/dico/data/human/hcp/derivatives/morphologist-2023/morphometry/brain_volumes.csv

Parameters

dataset_description: Text file ( input )
stats: Normative brain volumes stats ( output )

Technical information

Toolbox : Morphologist

User level : 1

Identifier : normative_brainvolumes_stats_mult

File name : brainvisa/toolboxes/morphologist/processes/morphometry/normative_brainvolumes_stats_mult.py

Supported file formats :

dataset_description :
YAML file, JSON file, YAML file
stats :
JSON file, JSON file