Mouse-Imaging-Centre / RMINC

Statistics for MINC volumes: A library to integrate voxel-based statistics for MINC volumes into the R environment. Supports getting and writing of MINC volumes, running voxel-wise linear models, correlations, etc.; correcting for multiple comparisons using the False Discovery Rate, and more. With contributions from Jason Lerch, Chris Hammill, Jim Nikelski and Matthijs van Eede. Some additional information can be found here:
https://mouse-imaging-centre.github.io/RMINC
Other
23 stars 17 forks source link

anatCreateVolume doesn't work with anatLm objects from MAGeT runs #265

Open gdevenyi opened 5 years ago

gdevenyi commented 5 years ago

https://github.com/Mouse-Imaging-Centre/RMINC/blob/a02a04ab75ce822d9503e8a377272d071b2d9c8b/R/minc_anatomy.R#L1218-L1233

anatLm doesn't appear to properly embed the definitions or atlas file into its model object, so anatCreateVolume doesn't work.

Assigning the attributes after the fact seems to do fine.