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
22 stars 17 forks source link

mincSummary imposes grouping when using method = 'mean' #309

Open abeaucha opened 2 years ago

abeaucha commented 2 years ago

mincSummary() behaves different with method = 'mean' and method = 'median':

mincSummary(filenames = ... , method = 'mean', grouping = NULL) returns an object with classes "mincMultiDim" and "matrix", and with dimensions (nfiles, 1). mincSummary(filenames = ... , method = 'median', grouping = NULL) also returns an object with classes "mincMultiDim" and "matrix", but with dim() returning NULL and length() returning nfiles.