Entering edit mode
Hi,
I am running (again) a DESeq analysis and try to create a html report
using
the ReportingTools package.
I do the DESeq2 analysis and get the fit object like in the manual
(see
below). I than try to create the html report but keep getting an error
I
can't interpret.
Error in `$<-.data.frame`(`*tmp*`, "Image", value = "") :
replacement has 1 row, data has 0
I really don't understand what data.frame is meant here.
In the DEseq analysis I don't have any replica, only two samples,
which I
ran with this code:
FirstComp <- Table[,c(5,8)]
> head(FirstComp)
WT treated
FBgn0000003 0 7
FBgn0000008 92 2096
FBgn0000014 32 23
FBgn0000015 13 21
FBgn0000017 652 2782
FBgn0000018 51 139
colData1 <- data.frame(row.names=names(FirstComp), condition = c("WT",
"treated"))
cds <- DESeqDataSetFromMatrix (
countData = FirstComp,
colData = colData1,
design = ~ condition
)
class: DESeqDataSet
dim: 14869 2
exptData(0):
assays(1): counts
rownames(14869): FBgn0000003 FBgn0000008 ... FBgn0261574 FBgn0261575
rowData metadata column names(0):
colnames(2): WT treated
colData names(1): condition
fit = DESeq(cds)
res = results(fit)
After that I try to create the html report with these commands:
des2Report <- HTMLReport()
publish(fit,des2Report, pvalueCutoff=0.05,annotation.db=NULL, factor =
colData(fit)$condition)
finish(des2Report)
Than I keep getting the above mentioned error message.
Can anyone explain to me what I am doing wrong?
thanks
Assa
[[alternative HTML version deleted]]