Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix pvWidth=0 problem in draw.funcEnrich.cluster #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamdingliang
Copy link
Contributor

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 adamdingliang requested a review from SherryDong April 8, 2020 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant