zhengxwen / SeqArray

Data management of large-scale whole-genome sequence variant calls (Development version only)
http://www.bioconductor.org/packages/SeqArray
44 stars 12 forks source link

Should seqSetFilter() use the same data type as input for `sample.id` and `variant.id`?? #56

Closed zhengxw-ab closed 5 years ago

zhengxw-ab commented 5 years ago
library(SeqArray)

f <- seqOpen(seqExampleFileName())
is(seqGetData(f, "sample.id"))
# "character"  "vector"
seqSetFilter(f, sample.id=c(10,101,22))
Error in .local(object, variant.sel, ...) :
  Unable to convert string to double.