Coder Social home page Coder Social logo

Comments (5)

Russel88 avatar Russel88 commented on July 18, 2024

Hi Peng,

The error is something internal in the aldex function, and I cannot reproduce it. You can try the following: sample_data(TS)$Genotype <- as.character(sample_data(TS)$Genotype) and then run it again. If this doesn't help, I need a reproducible example to figure out the problem.

from datest.

pwang16 avatar pwang16 commented on July 18, 2024

from datest.

Russel88 avatar Russel88 commented on July 18, 2024

Hi Peng,

Regarding ALDEx2, it might be because I adjust p-values externally, but if you run through the CoDa workshop the ALDEx2 functions give you the adjusted p-values. Everything else just comes from the aldex function. It's` hard to say what's correct. I'll look more into this.

Regarding DESeq2, I'm just running the data through the DESeq function. Again, I adjust p-values externally, but with the same method as used in DESeq2 by default, so it should be the same. Are the raw p-values also different between the QIIME and the DAtest implementation?

from datest.

pwang16 avatar pwang16 commented on July 18, 2024

from datest.

Russel88 avatar Russel88 commented on July 18, 2024

Hi Peng

I think I have found out why you get different results.

Regarding ALDEx2, I have changed the code in the new version such that the p-value adjustment is now the one that ALDEx2 outputs. The other values (for example raw p-values) might appear different, but it is because of ALDEx2s Monte Carlo sampling which changes the output slightly every time you run it. If you want reproducible results run set.seed before running ALDEx2.

Regarding DESeq2, it is probably because I use manual geometric means in my implementation, as suggested by these posts: joey711/phyloseq#387. In the new version of DAtest I also included the original DESeq2 (DA.ds2x). You can compare with this one, but beware, it appears to have higher false positive rates, at least for my test dataset.

from datest.

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.