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

Set custom feature_level_height for each GraphicFeature #87

Open
josephrich98 opened this issue Jun 19, 2024 · 1 comment
Open

Set custom feature_level_height for each GraphicFeature #87

josephrich98 opened this issue Jun 19, 2024 · 1 comment

Comments

@josephrich98
Copy link

Is it possible to set a custom feature_level_height for each GraphicFeature, rather than a single global value for GraphicRecord?

@veghp
Copy link
Member

veghp commented Jun 20, 2024

If I understand your intention correctly, then I think unfortunately no, it's not possible. Also it will likely be not implemented either, as the key problem this software solves is arranging the features in a non-overlapping manner, i.e. grouping (assigning) them to the lines (or levels) on the plot. The algorithm in DNA Features Viewer finds the minimum number of levels that allows plotting the labels without overlap; the heights (levels) are really categories, not distance. This approach works well and simple when the height of the levels, that is, the height of the letters, are the same.

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

No branches or pull requests

2 participants