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

Improve tile plot figure #277

Merged
merged 14 commits into from
Sep 6, 2024
Merged

Improve tile plot figure #277

merged 14 commits into from
Sep 6, 2024

Conversation

JeanMainguy
Copy link
Member

@JeanMainguy JeanMainguy commented Sep 2, 2024

This PR introduces several improvements to the tile plot figure:

  • Gene Names in Hover Text: Gene names are now included in the hover text for tile plot boxes, as requested in Add gene name info in the Tile Plot #251.
  • Metadata in Hover Text: Metadata can be added to the hover text using the --add_metadata argument.
  • Dendrogram Addition: A dendrogram can now be displayed on the x-axis with the --add_dendrogram argument, addressing the suggestion in Hierarchical Clustering #81.
  • Updated Color Bar: The color bar has been updated to display discrete values (absence, presence, multicopy) instead of a continuous scale.
  • New Legend: A legend for partition information has been added to improve graph clarity.

Technical Details:

  • Refactoring: The create_tile_plot function has undergo a complete refactoring.
  • Dendrogram Generation: The dendrogram is now generated using plotly.figure_factory.create_dendrogram, removing the need for the previous SciPy function.
  • Color Management: The Colorlover package has been replaced by fixed green colors, thus removing Colorlover as a dependency.

The tile plot documentation has been updated to take into account these changes.

@ggautreau ggautreau merged commit 1d8f532 into dev Sep 6, 2024
5 checks passed
@axbazin axbazin deleted the tile_plot_improve branch October 29, 2024 16:36
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.

2 participants