A Pen by Anthony Boyles on CodePen.
Last active
February 21, 2019 14:45
-
-
Save AABoyles/4dbe5e0998ab5468c70ffb0da7a5ae11 to your computer and use it in GitHub Desktop.
PVvOOx
This file contains 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
<html> | |
<head> | |
<style> | |
html, body { | |
height: 100%; | |
} | |
</style> | |
</head> | |
<body> | |
<script src="https://d3js.org/d3.v5.min.js"></script> | |
<script src="https://unpkg.com/tidytree@0.2.8/dist/tidytree.min.js"></script> | |
<script> | |
let newick = '(A:0.1,B:0.2,(C:0.3,D:0.4):0.5);'; | |
let tree = new TidyTree(newick, {parent: 'body'}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment