Skip to content

Add Neighbor Joining widget#286

Open
drejcbevk wants to merge 1 commit into
biolab:masterfrom
drejcbevk:add-neighbor-joining-widget
Open

Add Neighbor Joining widget#286
drejcbevk wants to merge 1 commit into
biolab:masterfrom
drejcbevk:add-neighbor-joining-widget

Conversation

@drejcbevk

Copy link
Copy Markdown
Issue

Adds a prototype Neighbor Joining widget.

Description of changes

Added files:

  • neighbor_joining.py
    Implements the core algorithm, TreeNode structure, leaf ordering helpers and Newick export.

  • neighbor_joining_adapter.py
    Converts the TreeNode structure into Orange's hierarchical.Tree structure.

  • dendrogram_nj.py
    Custom dendrogram component, supports non-ultrametric trees by preserving leaf heights and branch lengths.

  • owneighborjoining.py
    Adds the Orange widget for visualizing, pruning, selecting, and outputting clusters.

  • test_neighbor_joining.py
    Tests for core algorithm and tree adapter.

  • test_owneighborjoining.py
    Widget tests for input handling, error states, tree construction, and outputs.

Includes
  • Code changes
  • Tests
  • Documentation

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