When trying hypeR for the first time, I set quiet = FALSE in my hypeR(...) call, and the output said that Percentage of signature found across genesets: 1%, which I knew was wrong becasue 100% of my signature overlaps with the several genesets I use. When I checked the source code, I realised that the .check_overlap function returns an overlap as a fraction (from 0 to 1), not a percentage (from 0 to 100):
https://github.com/montilab/hypeR/blob/eaa02ede1e84b0cbc64c025c61561ba6c24bc645/R/utils.R#L37 and this fraction is not multiplied by 100 when is printed as a percentage in https://github.com/montilab/hypeR/blob/eaa02ede1e84b0cbc64c025c61561ba6c24bc645/R/hype.R#L136 So 1% here actually means 100%. It would be great to fix this! :) Thank you!
Dear hypeR developers,
When trying hypeR for the first time, I set
quiet = FALSE
in myhypeR(...)
call, and the output said thatPercentage of signature found across genesets: 1%
, which I knew was wrong becasue 100% of my signature overlaps with the several genesets I use. When I checked the source code, I realised that the.check_overlap
function returns an overlap as a fraction (from 0 to 1), not a percentage (from 0 to 100): https://github.com/montilab/hypeR/blob/eaa02ede1e84b0cbc64c025c61561ba6c24bc645/R/utils.R#L37 and this fraction is not multiplied by100
when is printed as a percentage in https://github.com/montilab/hypeR/blob/eaa02ede1e84b0cbc64c025c61561ba6c24bc645/R/hype.R#L136 So1%
here actually means100%
. It would be great to fix this! :) Thank you!