Estimatelog2Foldchange In Dexseq
1
0
Entering edit mode
9.4 years ago
venks ▴ 730

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.

rna-seq deseq • 1.9k views
1
Entering edit mode
9.4 years ago

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.

0
Entering edit mode

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