open-discussion > RE: IncludingCompCor(CONN toolbox) into SPM batch
Mar 1, 2019  03:03 PM | Lars Kasper - Translational Neuromodeling Unit, IBT, University of Zurich and ETH Zurich
RE: IncludingCompCor(CONN toolbox) into SPM batch
Dear Ralf,

great that the other issue was resolved.

I just ran into the same issue �index exceeds matrix dimensions� today in a different context, and most likely it arises because not enough voxels survive in that second mask. Specifically, there are less voxel time series in the original data than PCA components (+1 for the mean) requested. I will catch this error in the next release, but for now you could just try to set a more liberal mask threshold (e.g., 0.9 or 0.95) and less erosion (if you used more than 1 voxel).

You could check that by computing sum(roi(:)>0) before the PCA computation.

All the best,
Lars

Threaded View

TitleAuthorDate
Sara Calzolari Jan 30, 2019
Lars Kasper Jan 31, 2019
Sara Calzolari Feb 11, 2019
Lars Kasper Feb 13, 2019
Ralf Veit Feb 28, 2019
Lars Kasper Feb 28, 2019
Ralf Veit Mar 1, 2019
Lars Kasper Mar 1, 2019
Ralf Veit Mar 1, 2019
RE: IncludingCompCor(CONN toolbox) into SPM batch
Lars Kasper Mar 1, 2019
Ralf Veit Mar 4, 2019
Ralf Veit Mar 5, 2019
Lars Kasper Mar 5, 2019
Ralf Veit Mar 5, 2019
Lars Kasper Mar 9, 2019
Ralf Veit Mar 11, 2019