Entering edit mode
I have a normalized count table output from DESeq. I ran it through varFilter(), extracted the exprs(), and converted it to a matrix with numeric values.
> head(count.matrix)
S154 BE36 BA44 BI50 BE88 BE8
Sox17 27 39 56 34 57 33
Mrpl15 271 450 565 297 540 572
Lypla1 139 295 240 225 364 282
Tcea1 211 396 376 273 460 451
Atp6v1h 52 196 173 146 150 186
Rb1cc1 100 189 160 130 166 184
> class(count.matrix[[1,1]])
[1] "numeric"
> class(count.matrix)
[1] "matrix"
I created a conditions array, the same length as the number of samples.
> cond
S154 BE36 BA44 BI50 BE88 BE8
1 1 1 2 2 2
> class(cond)
[1] "array"
> length(cond)
[1] 6
According to the EBcoexpress, I should be able to create a D matrix with:
> D <- makeMyD(count.matrix, cond, useBWMC=TRUE)
Error in if (sum(D[, j] == Inf) > 0) stop(paste("Infinite BWMC values detected in condition ", :
missing value where TRUE/FALSE needed
I don't understand this error or how to troubleshoot further. Any ideas?
0
Entering edit mode
ADD REPLY
• link
8.1 years ago
Ed Siefker
▴
230
