Skip to first unread message

Neil

unread,
Jan 31, 2018, 10:23:28 AM1/31/18
to Alzheimer's Disease Neuroimaging Initiative (ADNI) Data
Hi folks,

If you work on image-based models or analyses of AD, then you might be interested in downloading the structural MRI scans that correspond to the cross-sectional FreeSurfer volumes in ADNIMERGE.

I've done this by hacking the adnimerger.R function in the ADNIMERGE package so that IMAGEUID is included as a column in ucsfvol1, ucsfvol2, and ucsfvol.

Once that's done, and the package is installed, it takes two lines of R to generate a CSV for subsequent analyses:
dd <- adnimerger()
write
.csv(dd, file = "ADNIMERGE_IMAGEUID.csv")

I think it's worthwhile adding this into the package proper so that the information is readily available. Mike D — what do you think?

As always, thanks to ADNI for this amazing dataset.

Cheers,
Neil

Mike Donohue

unread,
Jan 31, 2018, 4:26:24 PM1/31/18
to Alzheimer's Disease Neuroimaging Initiative (ADNI) Data
Sounds great, Neil. If you send me your "hack", I can add it to the package.

Mike

Neil

unread,
Feb 1, 2018, 4:07:10 AM2/1/18
to Alzheimer's Disease Neuroimaging Initiative (ADNI) Data
Hey Mike,

My hack in adnimerger.R was to change line 601:

  UCSFVOLs <- c('FLDSTRENG', 'FSVERSION',
becomes

  UCSFVOLs <- c('FLDSTRENG', 'FSVERSION', 'IMAGEUID',

File attached.


Cheers,

Neil

adnimerger_imageuid.R
Reply all
Reply to author
Forward
0 new messages