Giter Club home page Giter Club logo

Comments (8)

danielriosgarza avatar danielriosgarza commented on August 29, 2024

Hi,
You should have a numpy array with 17 numbers corresponding to the relative abundance o each of your 17 species. If your print the shape, it should return (17,). I am not sure what you have that is shaped (16, 32).

Best,
Daniel

from mambo.

990201 avatar 990201 commented on August 29, 2024

Thank you for your answer.I made adjustments, and now the result is like this:

“ValueError: operands could not be broadcast together with shapes (17,) (17,32) ”

Each of my model has a set of abundance data at different sample points.

from mambo.

danielriosgarza avatar danielriosgarza commented on August 29, 2024

Sorry, you need to run them one by one :(

You can always write a script that runs each sample in parallel.

from mambo.

990201 avatar 990201 commented on August 29, 2024

Thank you very much for your reply!
Best,
ming

from mambo.

990201 avatar 990201 commented on August 29, 2024

from mambo.

danielriosgarza avatar danielriosgarza commented on August 29, 2024

Hi Yiming,

You are correct, but probably the other way around. The negative fluxes in the exchange reactions are consumed while the positive are secreted (unless there is some transformation going on. For instance, multiplying the flux by "-1")

If you have further questions, feel free to ask and I will answer as soon as I can.

Best,
Daniel

from mambo.

990201 avatar 990201 commented on August 29, 2024

from mambo.

danielriosgarza avatar danielriosgarza commented on August 29, 2024

Hi Yiming,

The output is a Markov chain that contains a distribution of metabolite abundances and correlation to your metagenomics profiles.

Like in this Fig:

image

You should pullout the ones with a high correlation, together they are samples from a distribution rather than a single value.

Depending on your application, you can use the average or take the median of this distribution as your metabolome. As an indirect measure of "convergence" you can check that when you use this metabolome as your media, the relative biomass fluxes are highly correlated to the metagenome abundance profile.

Hope this helps. Feel free to email me if have some specific questions or want to discuss your data in person: [email protected]

Best,
Daniel

from mambo.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.