Skip to content

FrancoisPgm/ADNI_study

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

ADNI_study

TO properly merge csv files from ADNI, one must combine different csv files while matching two columns:

  • RID (the ID of the subject, regardless of the centre they were evaluated)
  • VISODE (the time point in which they were assessed: sc=screening, m12= 1year, m24=2 years, etc)

This code will help you achieve that for each ADNI phase at the time point you want and can be easily modified for different csv files and variables

Dependencies

Python

Dataset structure

csv files containing the variables of interest

How to run

download the Github repo

cd ADNI_study-master

run the following:

python merge_csv.py -o OUTPUT_FILE_NAME.csv -p PHASE -v VISCODE input_dir

Note1: VISCODE and VISCODE are not the same. VISCODE is cohort specific and gets initialized with the initialization of a new ADNI project. merge_csv.py is using VISCODE (not VISCODE2). This is fine as loong as the datasets merged will be done only for one ADNI phase (e.g ADNI1)

Note2: To see the list of options:

python merge_csv.py --help

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages