DEP icon indicating copy to clipboard operation
DEP copied to clipboard

Bug fix in filter_missval()

Open simonmfr opened this issue 3 years ago • 0 comments

Fixing bug in filter_missval():

keep$rowname is vector of character strings but should be row index, hence turned to integer.

Error in .SummarizedExperiment.charbound(i, rownames(x), fmt): <SummarizedExperiment>[i,] index out of bounds: 10 100 ... 9998 9999 Traceback:

  1. DEP::filter_missval(data_se, thr = 1)
  2. se[keep$rowname, ]
  3. se[keep$rowname, ]
  4. .SummarizedExperiment.charbound(i, rownames(x), fmt)
  5. stop(sprintf(fmt, msg))

simonmfr avatar Sep 28 '22 14:09 simonmfr