Inconsistent Dirichlet-multinominal coefficient and Beta-Binominal coefficient for a transcript in DTU analysis.
1
0
Entering edit mode
@18a9ad04
Last seen 20 days ago
Singapore

Dear rnaseqDTU & DRIMseq community,

I am performing Swimming downstream , and I want to confirm those transcripts overused in condition A compared with condition B. So I went looking for some metrics similar to logFC in DESeq2 and I found coefficient() function on dmDStest could give me a 'regression coefficient' for each transcript enter image description here

I'm not statistician and I hope I understand it correctly, that:

  1. coefficient(dmDStest) gives trasncript level coefficient using Dirichlet-multinominal (DM) model,
  2. coefficient(dmDStest, level = "feature") gives trasncript level coefficient using Beta-Binominal (BB) model

then I extracted all transcripts with a padj < 0.05 (follow this post) and plot DM coef and BB coef at x- and y-axis. I found:

  1. many transcripts showed DM coef that equal 0
  2. some transcripts showed DM coef and BB coef with incosistent sign.

I would like to ask:

  1. if it using the sign of the coef to define the direction of DTU in different condition resonable (just like log2FC in DESeq2 analysis)
  2. If resonable, which coef should I use to determine the direction of DTU in different condition?
  3. How to deal with those transcripts with inconsistent coef?
  4. could I say that the higher the coeffcient, the higher the overusage?

Best regards,

Wang

enter image description here

rnaseqDTU DRIMSeq • 880 views
ADD COMMENT
2
Entering edit mode
@mikelove
Last seen 1 day ago
United States

Yes, you are correct AFAIK about the two coef tables. In the DRIMSeq vignette, they have:

Transcript-level analysis based on the beta-binomial model. In this case, each transcript ratio is modeled separately assuming it follows the beta-binomial distribution which is a one-dimensional version of the Dirichlet-multinomial distribution.

The way a DM model works, one level of the multinomial serves as a reference. This is why you get the 0 coefficient for one of the transcripts -- it is serving as the reference level. In fact the last level in whatever order they are provided to DRIMSeq is the one that is chosen if you check the source code:

https://github.com/gosianow/DRIMSeq/blob/master/R/dmDS_fit.R#L81

However, in the beta-binomial, it is testing each level vs all the others collapsed into one level. E.g. transcript T vs not T. Except in the special case of a two-transcript gene, then the coefficients will not be equal.

For simplicity of interpretation, I would use the BB coefficients for interpretation of the change in proportion per transcript.

ADD COMMENT
0
Entering edit mode

Thank you so much. Your kind explanation also helps me understand why some transcript have identical coefficient in both models!

ADD REPLY

Login before adding your answer.

Traffic: 775 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