Repository navigation
Heatmap: heatmap_labels = last (order factor sorts, name labels) - #27
Merged
Merged
Conversation
…only
A crosstab that orders a heatmap by a clustering (rows: hc.rorder then the marker; columns:
hc.corder then the population) printed the order number above every name ("0\nCD161"), and on a
dense marker axis the two lines collided. heatmap_labels = "last" keeps the order factor for
sorting but labels with the name; the default "all" keeps today's labels. Falls back to every
factor when the last one alone is not unique.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A heatmap ordered by a clustering puts the order factor before the name (rows:
hc.rorder,c.antigen; columns:hc.corder,ds5.metacluster_id). The labels joined every factor, so each marker printed as0\nCD161, and on a dense axis the two lines overlapped (oneday template, Studio 2026-11-27).heatmap_labelsproperty:all(default, unchanged) orlast, which labels each axis with its last factor only. It falls back toallwhen the last factor alone is not unique.heatmap_axis_labels, with unit tests inunit_tests/run.R(all pass in the 1.0.20 image).🤖 Generated with Claude Code