Skip to content

Hyperlinks as leaves #16

Description

@mkranich

Dear Contributers of Phylo.io,

for my project I am searching for a gene-tree visualization tool able to link out to a genome-browser.
Is there a way to include hyperlinks as leaves in a Phylo.io tree visualization?

const t1 = "((<a href=http://localhost:3000/>yli</a>:1.0085614391793067,(((lel:0.2880678599618948,(cal:0.11643570498932501,ctr:0.12746420698315983):0.0877413194006926):0.12449843844102518,pst:0.20187483296288805):0.04951181210826987,(pgu:0.3208350693977453,dha:0.19121342958249643):0.0444880656387921):0.3761988962574594):0.22545281705785974,(((kla:0.32829009627835226,ago:0.35217085340006204):0.057415467336693615,(skl:0.15813405639248146,kwa:0.25658337062111586):0.04348414441988464):0.036897766465122404,(cgl:0.29957965624763355,(sca:0.24212307199678842,(sba:0.03984952076326609,(((sce:0.022286259220280224,spa:0.016875934069075366):0.01282179619059339,smi:0.03661027033511007):0.013312280806766753,sku:0.042685124078088485):0.014142671709463695):0.17548658899657893):0.03625000527459598):0.08921537612721808):0.22545281705785974):0;"
const  phylo = PhyloIO.init()
const c1 = phylo.create_container("container1")
c1.add_tree(t1, {'use_branch_lenght': true})

I tried inserting an href element into the Newick, but it did not work.

Image

Thank you for your time and best regards.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions