Coder Social home page Coder Social logo

tare / gpmicrobiome Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 4.0 1.31 MB

A novel probabilistic approach to explicitly model overdispersion and sampling zeros in 16S rRNA sequencing data by considering the temporal correlation between nearby time points using Gaussian Processes

License: MIT License

Python 46.83% Stan 53.17%

gpmicrobiome's People

Contributors

tare avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gpmicrobiome's Issues

question about the model

First of all thanks a lot for sharing the STAN model, it is a great help both for understanding the paper and especially for practical use of the method you proposed. I have a couple of questions about the implementation and the use of the model, will be very grateful for your help:

Screenshot 2021-09-30 at 11 13 11

In Supplemental Figure 2: Synthetic data generation you have the following caption: "The noise-free relative abundances of 36 bacterial orders are illustrated with black lines. Example sets of noisy relative abundances are illustrated with blue points. Sampled noisy relative abundances are used to generate count data."

  1. If I understand correctly the black lines โ€” is the average of the posterior samples from Theta_G over all iterations. And the noisy abundances come from a random iteration. For example, in this case you have 36 bacterial orders and 80 days, so if I run the model with 1 chain and 1000 iterations, the Theta_G will have a dimension of 1000x80x36. So by taking e.g. value from iteration = 100, I will get the simulated noisy abundance values shown as blue points on this picture. Is this correct?

  2. Let's say I want to simulate the abundance values for an OTU, which I expect will have an exponential decrease of the abundance with time. In this case I can simply generate theoretical counts by using exponential function, then use them as part of the OTU_reads matrix and then select Theta_G values for this OTU from a random iteration. Is this correct?

Thanks a lot in advance.

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.