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

Refactor run_hackett to generalize its handling of incomplete/missing data #1

Open
djinnome opened this issue Jan 28, 2024 · 1 comment
Assignees

Comments

@djinnome
Copy link
Collaborator

Tensors work by indexes. Dataframes work by named rows and columns. This mismatch is never more clear than when you want to map data to a model and some of the model reactions and metabolites are unmeasured. With dataframes, it is trivial. With tensors, you need fluency in Einstein notation.

Fortunately, Peter St John has provided an example of how to do this tensor manipulation in https://github.com/pnnl-predictive-phenomics/emll/blob/master/notebooks/run_hackett_inference.py and we just need to generalize his approach beyond the specific example it was used in.

@augeorge
Copy link
Contributor

related: pnnl-predictive-phenomics/syn_bmca#3

@augeorge augeorge self-assigned this Apr 18, 2024
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

When branches are created from issues, their pull requests are automatically linked.

2 participants