Open mtmorgan opened 5 years ago
Thanks @mtmorgan ! I will have a look into it.
Fixed in ensembldb 2.9.3
> class(mapIds(EnsDb.Hsapiens.v86, "BCL2", "TXID", "GENENAME", multiVals="filter"))
[1] "NULL"
Filter has a similar problem. I'd expect a character vector of length 0.
Thanks for reporting @Kayla-Morrell ! It's fixed in version 2.9.4
It seems like character(0)
should be named so that things such as tibble::enframe()
will work properly ('name' column is type character not integer).
> tibble::enframe(character(0))
# A tibble: 0 x 2
# … with 2 variables: name <int>, value <chr>
> tibble::enframe(setNames(nm = character(0)))
# A tibble: 0 x 2
# … with 2 variables: name <chr>, value <chr>
>
I made the changes - hope it works now. Thanks for reporting @Kayla-Morrell