During local debugging. Might have something to do with dependencies. Using SBJ04391_L2301279.
Quitting from lines 1177-1234 (rnasum.Rmd)
Error in `dplyr::mutate()`:
ℹ In argument: `rnasum_rmd = RNAsum::rnasum_rmd(...)`.
ℹ In row 1.
Caused by error in `data.cum[, colnames(data)[targets$Target %in% group]]`:
! subscript out of bounds
Backtrace:
1. RNAsum::exprTable(...)
2. RNAsum::exprGroupsStats_geneWise(data, targets)
at rnasum/R/exprTable.R:55:4
3. base::cbind(...)
at rnasum/R/exprGroupsStats_geneWise.R:97:6
The data.cum matrix generated in exprGroupsStats_geneWise only has rownames, so the colnames() doesn't find anything. data.cum is specified as:
##### Calculate cumulative sums and perform range standardization between 0 and 1
data.cum <- t(apply(data, 1, cumsum_ordered))
Will see if I can push a fix. Maybe the behaviour of apply() or t() has changed. Wonder how this worked before.
During local debugging. Might have something to do with dependencies. Using
SBJ04391_L2301279
.The
data.cum
matrix generated inexprGroupsStats_geneWise
only has rownames, so thecolnames()
doesn't find anything.data.cum
is specified as:Will see if I can push a fix. Maybe the behaviour of
apply()
ort()
has changed. Wonder how this worked before.Debugging:
Comparing to a sample that works (SBJ04215), we see that there is a negative value that throws the
cumsum_ordered
off: