help > to change from NPM to NiiStat
Showing 1-2 of 2 posts
Results per page:
Feb 7, 2019  02:02 PM | Peii Chen
to change from NPM to NiiStat
I have not used the MRIcron and NPM for at least three years. Recently I picked it up again to look at some old lesion data and found that NPM had retired and been replaced by NiiStat.  
For an hour or so, I have tried to download NiiStat. But the site was dysfunctional (see the screenshot) and I could not download it.  Please help. 
I also have another question. All my old lesion data are in voi.  How can I convert it into .mat for NiiStat to read and process?

Peii (Peggy) Chen
Attachment: screenshot.jpg
Feb 8, 2019  05:02 AM | Chris Rorden
RE: to change from NPM to NiiStat
The source can be downloaded here
Github is owned by Microsoft, so it is pretty well maintained and should work with most browsers.

If you have a Mac or Linux, I would install the git command line tools. This will allow automatic updates. In this case, you can install NiiStat with a single command from your terminal:
  git clone
next, you just need to install the 'NiiStat' folder in your Matlab path.

For studies with only a single modality (e.g. all images are lesions) you can run the command 'nii_nii2mat' from Matlab to convert all your NIfTI images to the Matlab structure NiiStat uses. You can then try out the Wiki for more details

NiiStat includes a lot of nice features for multiple modalities, machine learning, etc. However, you will get similar results for traditional multivariate analyses using other tools. You may want to explore if you find those other tools simpler to use. The flexibility of NiiStat can make it a bit overwhelming for simple studies. I would suggest you look at