Skip to content

Instantly share code, notes, and snippets.

@AABoyles
Last active February 21, 2019 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AABoyles/4dbe5e0998ab5468c70ffb0da7a5ae11 to your computer and use it in GitHub Desktop.
Save AABoyles/4dbe5e0998ab5468c70ffb0da7a5ae11 to your computer and use it in GitHub Desktop.
PVvOOx
<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