Open slieped opened 6 years ago
Code similar to the code provided in #7 should give the basis of what you need.
In general, it is not always possible to have a simple correspondence between a column and a coordinate, because some columns denote distributed networks rather than simply-connected ROIs. However, you can get access to the spatial information by looking at the map.
Also of interest may be the code used to extract the time-series, which can be found in https://github.com/ramp-kits/autism/tree/master/preprocessing
Is it possible to have a correspondance-dictionary between the .csv columns and ROIs localization? I.e column1 is the mean value for a ROI in an area of the prefrontal cortex. Probably the original atlas (or the version inside nilearn) have this information, but it would be nice to have the .nii.gz file to visually exploit spatial localization. This could be useful to perform seed-analysis, were the seed localization is important. I saw your response in #7 but dont know if it would work (using nilearn's to_filename function). My concern is if the ROI with value 1 will belong to the column 1 of the .csv file.
Thanks for all the help!