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

Running HotNet2 over a custom network #36

Open
aallahyar opened this issue Jan 16, 2018 · 2 comments
Open

Running HotNet2 over a custom network #36

aallahyar opened this issue Jan 16, 2018 · 2 comments

Comments

@aallahyar
Copy link

aallahyar commented Jan 16, 2018

I would like to report an issue (or maybe my lack of understanding) on

min_score = min([score for score in heat.values() if score > 0])

This line is where my execution of HotNet2 halts. Further check revealed that none of values in "heat.values()" is larger than 0. In turn, it produces an empty list and "min" function raise s an exception.

If all values are zero (which is the case for me), it means that none of genes on that specific subnetwork have heat. So I wonder how this subnetwork became a significant hit. Thats where my confusion starts.

Would you please help figure out what I am missing?

Thanks!

@krassowski
Copy link

See very similar discussion on: https://groups.google.com/forum/#!topic/hotnet-users/wV9NF-u9Qtw.
It may help you or may not, but it is related to the same line and the same exception.

@aallahyar
Copy link
Author

Thanks @krassowski I think you are pointing to the right direction.
However, I am using an identical (weighted) network with different thresholds to make the network binary. So the node and score identifiers has not changed.

At the same time, I realised that once the threshold is too conservative, then the chance of raising this error increases. So I am expecting that somewhere inside HotNet2, there is a step that fails when few number of genes are connected or have small score.

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

2 participants