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

Issue accessing all networks using "get_collection" #113

Open
teejclark opened this issue Mar 9, 2023 · 0 comments
Open

Issue accessing all networks using "get_collection" #113

teejclark opened this issue Mar 9, 2023 · 0 comments

Comments

@teejclark
Copy link

Hi there,

I am trying to use rmangal to do some network analysis of your full dataset of networks. I apologize if there is a simple solution, but for some reason, I encounter these errors when scaling up the "get_collection" function from a few networks to all of the networks in your dataset.

For example:

search_networks("", verbose = F) %>% get_collection()
Error in names(mg_network$interactions) <- *vtmp* :
attempt to set an attribute on NULL

I also tried getting the collection by network ID. If you get collections by a smaller subset of network ID, it works.
all_networks <- search_networks("", verbose = F) # 1487 networks
get_collection(c(all_networks$id[1000:1300]), verbose = F) %>% combine_mgNetworks()

But if you try using all network IDs, you run into the same error above.
get_collection(c(all_networks$id[1:1487]), verbose = F) %>% combine_mgNetworks()
Error in names(mg_network$interactions) <- *vtmp* :
attempt to set an attribute on NULL

I would appreciate any help or thoughts on accessing the full dataset in Mangal. Thank you very much for your help!

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