Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running makeMICeDefsHierachical() function #304

Open
mirpie opened this issue Jan 30, 2022 · 0 comments
Open

Problem running makeMICeDefsHierachical() function #304

mirpie opened this issue Jan 30, 2022 · 0 comments

Comments

@mirpie
Copy link

mirpie commented Jan 30, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant