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

Improvements for greater flexibility #70

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

seirios
Copy link

@seirios seirios commented Jun 10, 2020

This PR contains three improvements which I've found useful when using pheatmap.

  1. Honor number_format when using a matrix in display_numbers. This is technically a bugfix(?)
  2. Allow number_color to be a function, which allows setting text color based on background color. This is useful for getting good contrast against colormaps.
  3. Honor gaps_row/col settings when clustering rows/columns if cutree_rows/cols is unset. This allows for greater customization and doesn't hurt, right?

Cheers!

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