I noticed that the fora function errors when there is no overlap between all the passed in pathways and the universe.
Specifically, the error is:
Error in length(universe) - sapply(pathwaysFiltered, length) :
non-numeric argument to binary operator
I think it should be possible to handle this case by simply returning a result table with 0 rows? If you are interested in handling this case, I can submit a pull request with this fix.
Hi, thanks for the great package!
I noticed that the
fora
function errors when there is no overlap between all the passed in pathways and the universe. Specifically, the error is:I think it should be possible to handle this case by simply returning a result table with 0 rows? If you are interested in handling this case, I can submit a pull request with this fix.