help > Errors doing VLSM with Npm
Showing 1-2 of 2 posts
Results per page:
Nov 25, 2020  12:11 PM | golivec95 - Universitat de Barcelona
Errors doing VLSM with Npm
I'm unable to perform a VLSM using NPM between lesion masks and a continuous variable.
After establishing the desing with 18 binary masks and one continuous behavior variable, I launch the analysis and I get the error:

"Number of Lesion maps = 18
Dimension 1 of C:\VLSM\lesion_masks\wtS08_mask.nii does not match C:\VLSM\lesion_masks\wTS02_mask.nii
Problem with "C:\Users\UB\Desktop\GUILLEM\VLSM\lesion_masks\wtS08_mask.nii
Error: File dimensions differ from mask."

How can i fix this?

Thank you!
Nov 25, 2020  01:11 PM | Chris Rorden
RE: Errors doing VLSM with Npm
I am happy that my legacy tools are robust and popular. I would encourage you to consider using NiiStat or PALM instead. All my old tools are open source, so you are free to extend, explore and maintain them. In general, all neuroimaging tools (SPM, FSL, NiiStat, PALM) expect images in spatial register with each other. Assuming your images are all normalized to the same template, you can replace them to a common space using a simple script nii_reslice_target.m