NetBID icon indicating copy to clipboard operation
NetBID copied to clipboard

fix pvWidth=0 problem in draw.funcEnrich.cluster

Open adamdingliang opened this issue 4 years ago • 0 comments

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.

adamdingliang avatar Apr 08 '20 15:04 adamdingliang