Devon Ryan,
Do you mean adding to Sample condition not sample table right?. I added in sample condition the following line and got the result as below:
sampleCondition <- c ("control", "t1", "t2", "t4", "control", "t1", "t2", "t4")
log2 fold change (MLE): condition t4 vs control
Wald test p-value: condition t4 vs control
DataFrame with 6 rows and 6 columns
baseMean log2FoldChange lfcSE stat pvalue
<numeric> <numeric> <numeric> <numeric> <numeric>
XLOC_011966 298932.4717 11.167532 0.5369988 20.79620 4.685118e-96
XLOC_015099 4680.3330 8.129216 0.5742844 14.15538 1.729899e-45
XLOC_006378 897.0141 6.881496 0.5325741 12.92120 3.417696e-38
XLOC_003469 221.9459 -7.663667 0.6253951 -12.25412 1.596718e-34
XLOC_004664 808.9044 9.633222 0.8395317 11.47452 1.771611e-30
XLOC_015318 5509.5439 8.408940 0.7359340 11.42622 3.092968e-30
padj
<numeric>
XLOC_011966 3.493692e-92
XLOC_015099 6.449928e-42
XLOC_006378 8.495253e-35
XLOC_003469 2.976681e-31
XLOC_004664 2.642180e-27
XLOC_015318 3.844043e-27
Here I got 6 rows and 6 columns. Is it keeping both control at same and other time points as separate columns? And does this looks ok?
May I ask what would you expect from
colData(ddHTSeq)? I guess in the factor column you should have if the sample received or didn't receive the chemical gossypol. Right? Also, your code above is missing a)at the end of colData.I put the missing
)back, I may have accidentally deleted it when I reformatted this post.