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

BooleanNetwork.instantiate - infer_valid_graph by default #23

Open
smijeva opened this issue Sep 9, 2024 · 0 comments
Open

BooleanNetwork.instantiate - infer_valid_graph by default #23

smijeva opened this issue Sep 9, 2024 · 0 comments

Comments

@smijeva
Copy link
Contributor

smijeva commented Sep 9, 2024

Currently, when an instantiate method is called upon BooleanNetwork (in any version), the Boolean network is still referencing the original regulatory network. This is a counter-intuitive behavior, since the former regulatory network might contain numerous extra (unobservable) regulations. An extra call of infer_valid_graph is going to be needed in the majority of the use cases of this method.

An improved behavior would be to introduce an extra optional parameter to the instantiate method (e.g. infer_regularizatin=True), which will make the method call the infer_valid_graph right upon instantiation. If a former regulatory network is desired to be preserved, this parameter then can be set to False.

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