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:
Hello!
I'm trying to run the makeMICeDefsHierachical() function as follows:
abijson <- "allen_hierarchy_10.json"
defs <- "DSURQE_40micron_R_mapping.csv"
#Add volumes to anatomical hierarchy
hdefs <- makeMICeDefsHierachical(defs, abijson) #Anatomical Hierarchy
...with the appropriate working directory containing the json and mapping csv files. When I try to run the function as follows:
hdefs <- makeMICeDefsHierachical(defs, abijson)
I get the following error:
Error in FindNode(tree, defs$ABI[i])$Get("path") : attempt to apply non-function
Googling this particular error doesn't seem to return any results. Any insight into where I might be going wrong would be appreciated!
Thanks so much in advance