Dear sir,
Thanks for your kind answer. Its done. But now I am trying to use Time series analysis for one condition (one condition with 4 time points).... Indeed I tried and got error.
bckCDS <- DESeqDataSetFromMatrix(countData = wt, colData=ExpDesign, design= ~condition.Time)
>head(ExpDesign)
condition.label condition.Time
WT.T1.1 WT T1
WT.T1.2 WT T1
WT.T1.3 WT T1
WT.T2.1 WT T2
....
.......
> ddsLRT= DESeq(bckCDS, test ="LRT", reduced = ~condition.Time, fitType='local')
Error in nbinomLRT(object, full = full, reduced = reduced, betaPrior = betaPrior, :
less than one degree of freedom, perhaps full and reduced models are not in the correct order
> ?DESeq
> ddsLRT= DESeq(bckCDS, test ="LRT", fitType='local')
Error in checkLRT(full, reduced) :
provide a reduced formula for the likelihood ratio test, e.g. nbinomLRT(object, reduced = ~ 1)