Add gene filtering functionality and enhance label handling#36
Merged
Conversation
Owner
Author
|
Fixes #20 |
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #36 +/- ##
==========================================
+ Coverage 79.09% 79.36% +0.27%
==========================================
Files 42 42
Lines 5554 5588 +34
==========================================
+ Hits 4393 4435 +42
+ Misses 1161 1153 -8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
This pull request introduces several documentation enhancements and API improvements, primarily focused on gene annotation handling, new visualization options, and usability tweaks for the
plotnadopackage. The changes make it easier to use gene annotations from multiple sources, add new plotting features, and adjust default visual behaviors for improved clarity.Documentation improvements:
gene_filter.API and usability enhancements:
gene_filteras a supported keyword argument for gene tracks, allowing users to restrict displayed genes by name. This is reflected in both theGenesKwargstype and theGenomicFigureinterface. [1] [2]GenomicFigure(as seen in the.pyiinterface): labels are now shown on tracks by default (label_on_track=True), label box alpha is slightly reduced for less obtrusive backgrounds (label_box_alpha=0.85), and label offsets are adjusted for improved spacing. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]Codebase and minor documentation tweaks:
figure.pyto skip drawing between adjacentGenesandScaleBartracks, simplifying the code and preventing unnecessary separators.