NetBID
NetBID copied to clipboard
fix pvWidth=0 problem in draw.funcEnrich.cluster
fix pvWidth=0 problem in draw.funcEnrich.cluster when there are too many genes to plot
When geneWidth1 is very large, mr <- 180/(geneWidth1+pvWidth1+gsWidth1) is less than 0.5, which caused pvWidth1 to be 0. Added a if statement to check that case.
Please confirm this change. Thanks.