layerfMRI/LAYNII

LN2_PROFILE extracting fMRI time series for each layer

layerConnectome opened this issue · 1 comments

Dear LayNii developers,

I am trying to extract functional MRI time series for each layer. I am wondering if LayNii has an existing feature for this purpose? It seems that LN2_PROFILE only reports the mean and standard deviation of each layer? Thank you.

Dear @layerConnectome,

Thanks for your question. You are right, LN2_PROFILE does not extract the layer profiles of time series. It would be reasonable (and quite easy) to include this feature in future releases.

Until this is implemented into LayNii, you can extract the mean and STDEV values of the time courses of the layer-nii files and the time course 4D-data by means of this example script using AFNI.

See the LayNii extras folder here: https://github.com/ofgulban/LAYNII_extras/tree/master/EXTRACT_LAYERPROFILES . Look at the script afni_LayerMe_timecourse.sh, it is written for the test data in LayNii.