[MINC-users] Introducing RMINC

Jason Lerch jason at bic.mni.mcgill.ca
Wed Feb 22 09:37:34 EST 2006


Greetings all,

Here's a new package for those of you doing stats of various sorts as 
well as anyone who likes R (an open source stats project) - RMINC. It 
includes functions to read and write MINC2 files, the ability to apply 
arbitrary R functions at every voxel, and some optimized modelling 
functions (t-tests, Wilcoxon Rank-sum tests, correlations, and linear 
models). Read the attached PDF for more details if you are interested.

To install, untar the attached tarball, then install like so:

R CMD INSTALL --configure-args='--with-build-path=/some/dir/with/minc2' 
RMINC

note that to install this package in a non-default location set the 
R_LIBS environment variable (and set it to the same directory when 
starting R to make sure it can read it).

Instructions for use are the in the PDF file. Note that it needs MINC2 
volumes - it'll probably die with some horrible error if tried with 
MINC1. Remember that conversion between them is lossless - use 
mincconvert -2. It can also only deal with three dimensions at this 
point (if there's enough demand I'll add on 4d stuff).

This is definitely a testing release - I've only tried the attached code 
on both 32 and 64 bit ubuntu linux. No guarantees, in other words; or, 
to rephrase, and almost certain guarantee of bugs. So all comments are 
welcome, especially bug reports and, of course, patches.

Cheers,

Jason


More information about the MINC-users mailing list