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

Tree/dendrogram viz #34

Open
vincerubinetti opened this issue Oct 15, 2024 · 0 comments
Open

Tree/dendrogram viz #34

vincerubinetti opened this issue Oct 15, 2024 · 0 comments
Labels
frontend Frontend-related

Comments

@vincerubinetti
Copy link
Collaborator

vincerubinetti commented Oct 15, 2024

Screenshot 2024-10-15 at 1 10 18 PM

Essentially needs to display a tree hierarchy of data (proteins I think), and also show a sequence visualization aligned with each protein.

I kind of doubt there will be an existing javascript library that does exactly this. We'll most likely need to combine two libraries together. Perhaps we could use echarts for the tree part, and Nightingale for the sequence part. Or maybe we can use d3-tree for the tree, and do the sequence part manually (it seems like it's just a sequence of colored rectangles. Plot.ly is another option. To minimize complexity, I want to use a library that can handle all the general plots we may need, including: bar chart, line chart, upset plot, sunburst plot, heatmap (see the other issues in this repo). Please don't use a library that, for example, can only do tree visualizations, unless all other libraries are inadequate. Please research the library options and discuss them here before starting actual implementation.

More specific notes/guidelines:

  • Should be SVG-based, not canvas-based
  • Don't necessarily need exactly the same feature set as the 1.0 tree visualization. Layout can be slightly different, can have more/less/different customization options, etc.
  • Don't implement a download button yet.

See the following comment for guidelines on implementation and general architecture:
#32 (comment)

@vincerubinetti vincerubinetti changed the title Tree viz Tree/dendrogram viz Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Frontend-related
Projects
None yet
Development

No branches or pull requests

1 participant