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

What the the difference between fit_GRN_for_simulation, fit_GRN_for_network_analysis? #217

Open
swapnilkeshari opened this issue Oct 15, 2024 · 0 comments

Comments

@swapnilkeshari
Copy link

Hello,
While I was going throught the code I wanted to understand what is the difference between these two functions? Since on the face of it both the functions seems to do very similar things with some nuances.

From my understanding of the workflow [Caveat: 2k/10k/ etc. are for ex. as they were in the tutorial]

  1. we create a link object, which when filtered to top 2k edges gets us the network stats and has coef & pvalues for each edge.
  2. Following this, we again do filter_links() to get top 10k and then do oracle.fit_GRN_for_simulation() which does second round of fitting. but this time I only get the coefficients from oracle.coef_matrix_per_cluster. but no p_values associated with the fit.

Lastly if we are doing KO on the second fit, shouldn't that be considered the "final GRN" and network stats be generated for those? How can I get the links object after the second fit of oracle?

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