Possible to calculate log odds using DESeq2?
1
2
Entering edit mode
adityabandla ▴ 10
@adityabandla-11584
Last seen 6.0 years ago

I have a metagenomics dataset, which essentially is a counts matrix (genes as rows and samples as columns). One of my objectives was to identify differentially abundant genes across my sample groups, which I did using DESeq2

I am wondering if its also possible to do some qualitative testing, based on the presence-absence of a gene and quantify that using a metric such as the odds ratio?

deseq2 limma • 1.5k views
ADD COMMENT
1
Entering edit mode
@mikelove
Last seen 1 day ago
United States
We provide only what you see in the results table : LFC, its standard error, Wald (or LRT) test statistic, and p-values.
ADD COMMENT
0
Entering edit mode

Thanks Michael! I'm sorry if my question is naive, I have been trying to wrap my head around this.

Is it possible to calculate the log odds of a gene being enriched/log odds for a given log2foldchange for pairwise comparisons?

ADD REPLY
0
Entering edit mode

Short answer is that we don't have functionality for log odds of DE in DESeq2.

We offer likelihood ratios. The statistic in the results table when you use test="LRT" is 2*log(likelihood alternative model / likelihood null model). (The 2 comes in so that this statistic can be compared to a chi square distribution.) The log likelihood ratio here is not the same as a posterior odds because we don't estimate a prior odds ratio.

ADD REPLY

Login before adding your answer.

Traffic: 698 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6