Skip to content

Bug fix in filter_missval()#32

Open
simonmfr wants to merge 1 commit intoarnesmits:masterfrom
simonmfr:master
Open

Bug fix in filter_missval()#32
simonmfr wants to merge 1 commit intoarnesmits:masterfrom
simonmfr:master

Conversation

@simonmfr
Copy link
Copy Markdown

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): [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))

Fixing bug in filter_missval(): 

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))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant