Comments (1)
Hi jjscarpa,
There is no google group, or similar, but it might be a good idea to start one.
The intention with DAtest was to choose one method to use. I don't think that using an ensemble approach with allDA
is wrong, it's just harder to interpret. Also, running testDA
gives you an idea of the specificity and sensitivity of single methods, not a combination. allDA
was meant as a sanity check; do the top methods find nearly the same significant features. My advice would therefore be to simply use ds2.
Regarding DESeq2, the default with multi-class predictors is for ds2(x) to run a likelihood ratio test. While you only get one p-value, you can get log fold-changes for all comparisons:
Assuming your species are called "mouse" and "cat":
res <- DA.ds2(data.new, predictor = "Sp", allResults = TRUE)
res_mouse.vs.cat <- results(res, contrast = c("predictor","mouse","cat")@listData
Alternatively, if you want a p-value for each comparison you can set out.all = FALSE
in both testDA
, DA.ds2
and so on. ds2 will then run Wald tests and you will get a p-value for each comparison between species, but I think this is intended for two-class predictors or multi-class predictors with a common reference you wish to compare to. But you could in principle run it for each comparison:
res <- DA.ds2(data.new, predictor = "Sp", allResults = TRUE, out.all = FALSE)
res_mouse.vs.cat <- results(res, contrast = c("predictor","mouse","cat")@listData
But note that p-values are then adjusted for each comparison independently (unless you correct them yourself), which might inflate the false positive rate.
from datest.
Related Issues (20)
- Fail to install the DAtest HOT 2
- adx was excluded due to failure HOT 5
- DA.aov/DA.lao and DA.TukeyHSD HOT 4
- showing p-value on the graphs HOT 1
- Score = 0 for all tests and elaboration on running PCoA prior to DAtest HOT 1
- min.sample argument in preDA function HOT 1
- Errors in Mac Installation HOT 2
- Adding interaction terms in DA.neb() HOT 4
- Parallelization does not work in R 4.0 + Rstudio HOT 4
- Clarification on terminology of "raw counts" vs. "absolute abundance" HOT 2
- Preform comparisons on rank (i.e. family) level instead of OTU HOT 2
- Add corncob
- Cannot install HOT 2
- Phylum level - warning HOT 1
- Addition of ANCOM and ANCOM-BC HOT 4
- Error in rowSums HOT 6
- Implement UpsetDA
- Posthoc for aov with predictor and covar? HOT 1
- Getting error "subscript out of bounds" when trying to run testDA()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datest.