GithubHelp home page GithubHelp logo

Comments (4)

Russel88 avatar Russel88 commented on May 28, 2024

Hi Xiaoping,

The underlying problem is that R-squared is not appropriate to use for non-linear models, like the neutral model. (See for example this paper: https://bmcpharma.biomedcentral.com/articles/10.1186/1471-2210-10-6)

iCAMP and reltools use the standard approach to calculating R squared (1-SS_res/SS_tot), but that is only valid for linear regressions. In MicEco I use the generalised R squared. I think the MicEco version is more appropriate, but neither are probably "correct".

from miceco.

lixiaopi1985 avatar lixiaopi1985 commented on May 28, 2024

That makes sense. Thank you, Russel!

Do you recommend rarefaction or any kind of transformation and normalization for amplicon data before fitting the neutral model?

from miceco.

Russel88 avatar Russel88 commented on May 28, 2024

Yes, I think you need to rarefy, as the model uses the number of "Individuals" in each sample, which is assumed to be similar. The function (including that from reltools) just takes the mean read depth across samples as the number of individuals, and I am unsure how the model behaves if the read depths varies.

from miceco.

lixiaopi1985 avatar lixiaopi1985 commented on May 28, 2024

Thank you so much!

from miceco.

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.