Entering edit mode
6.0 years ago
ankur
•
0
Hello,
I am facing an error while running DESeqDatasetFromTximort
after StringTie quantification step
> library(DESeq2)
> sampleTable <- data.frame(condition = factor(rep(c("mock", "mock"), each = 1)))
> rownames(sampleTable) <- colnames(txi$counts)
> dds <- DESeqDataSetFromTximport(txi = txi, sampleTable ,design = ~ Condition + Time)
Error in DESeqDataSet(se, design = design, ignoreRank) :
all variables in design formula must be columns in colData
My sample contains:
Sample_ids Condition Time
t_data_9.ctab Mock 6hpi
t_data_10.ctab Mock 6hpi
Am I supposed to add any argument?