edgeR: no replicates & mroast
2
0
Entering edit mode
Daniel ▴ 10
@daniel-6619
Last seen 14 months ago
Finland

Hello,

the edgeR manual (i.e. user guide that was last revised 25 September 2014) explains very nicely, with nice examples, what to do when there are no replicates.

For example, for at section 2.10, sub-section 2 (that is picking a dispersion value, based on your experience with similar data, and use that for exactTest or glmFit) it is given this as example :

> bcv <- 0.2
> counts <- matrix( rnbinom(40,size=1/bcv^2,mu=10), 20,2)
> y <- DGEList(counts=counts, group=1:2)
> et <- exactTest(y, dispersion=bcv^2)

How this example can be expanded to be used with mroast? Is it even advisable to "force" mroast for this case?

The same questions could be asked about the entire section 2.10.

 

Cheers,

Daniel

 

 

edger roast • 2.7k views
ADD COMMENT
2
Entering edit mode
@gordon-smyth
Last seen 3 hours ago
WEHI, Melbourne, Australia

Having no replicates, the only gene set test you can use is geneSetTest. For example:

  et <- exactTest(y, dispersion=bcv^2, prior.count=5)
  geneSetTest(index, et$table$logFC, alternative="up")

where index is the index of your gene set. Repeat for each gene set.

ADD COMMENT
0
Entering edit mode

Again this example is great! Thank you! Daniel

ADD REPLY
1
Entering edit mode
Aaron Lun ★ 28k
@alun
Last seen 8 hours ago
The city by the bay

The ROAST procedure performs permutations by rotating points throughout the residual space. If you weren't able to estimate the dispersion in the first place, this means that you don't have any residual degrees of freedom in your experimental design. So, there'd be no residual space for the rotations to occur. Moreover, ROAST requires variance estimates to compute the (moderated) t-statistics, and this won't be available when there are no replicates.

In short, it's probably not advisable (or even possible) to force ROAST to handle this case.

ADD COMMENT
0
Entering edit mode

Sorry for not being very clear with my question. In my question above I was meaning by "forcing" that one could "borrow" the (i) dispersion _and_ (ii) residual degrees of freedom from somewhere else (e.g. from different time-point). Already in the example from above the dispersion is "borrowed" (i.e. picking a dispersion value, based on your experience with similar data). 

ADD REPLY

Login before adding your answer.

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