This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Estimatelog2Foldchange In Dexseq

Hi,

I am using DEXSeq function

                 `ecs <- estimatelog2FoldChanges(ecs,denominator=condition1)`

Here I have tow conditions, condition1 and condition2.

In the result table that is created I see the results for log2Fold(Condition1/condition2).

I assumed that with the argument (denominator=condition1) I will get the result tables with log2Fold(condition2/condition1)

Can someone explain me what is happening here.

Thanks in advance

rna-seq deseq

1 answer

Instead, try:

ecs <- estimatelog2FoldChanges(ecs,denominator="condition1")

If you look at the help page for that function, you'll see 'denominator=""', indicating that it's expecting a character string (or whatever the R terminology is for "char *") rather than a variable.

Thank You @dpryan. Here condition1 is a variable where I have saved "case" and for condition2 its "control" and your answer helped.

Log in to answer this question.