Coder Social home page Coder Social logo

Comments (3)

ekernf01 avatar ekernf01 commented on May 28, 2024

Also, for differentially expressed genes, is the fold change applied to the mean before selecting the dispersion, such that the dispersion differs between the control and treatment groups? Or is the control group's dispersion estimate used for the treatment group as well?

from powsimr.

bvieth avatar bvieth commented on May 28, 2024

Hello,

thank you for your interest in powsimR. Please find my answers to your questions below:

  • When you write "We first draw the mean expression for each gene", how exactly is this done? Is it drawn literally from the empirical distribution in this sense, i.e. sampled with replacement?
    So, the mean is sampled from the observed mean gene expression values estimated with estimateParam() which you can also visualize with plotParam(). Whether this will be then with or without replacement depends on relation between estimated and simulated genes defined with Setup(). If you want to simulate more genes (e.g. 15000) than estimated (e.g. 10000), then the sampling will be with replacement. The sampling is without replacement when there are more estimated mean expression values than genes to simulate.
    By setting the option verbose = TRUE, the functions should be "talkative", i.e. inform you what is going on.
  • You write "to capture the variability of the observed dispersion estimates, a local variability prediction band (σ = 1.96) is applied to the fit". Do you sample the dispersion uniformly within this 95% prediction band?
    No, I actually estimate the mean and standard deviation of the dispersion value given the mean expression value and then draw from a truncated normal distribution.
  • Also, for differentially expressed genes, is the fold change applied to the mean before selecting the dispersion, such that the dispersion differs between the control and treatment groups? Or is the control group's dispersion estimate used for the treatment group as well?
    The dispersion does not differ between the two groups.

I hope I could answer your questions. Do not hesitate to contact me again when you have any further questions.

Kind regards
Beate

from powsimr.

ekernf01 avatar ekernf01 commented on May 28, 2024

That is exactly what I wanted to know. Thank you very much!

from powsimr.

Related Issues (20)

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.