Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daviddao/visualise-newick
small website to visualise newick formats
https://github.com/daviddao/visualise-newick
Last synced: about 1 month ago
JSON representation
small website to visualise newick formats
- Host: GitHub
- URL: https://github.com/daviddao/visualise-newick
- Owner: daviddao
- Created: 2015-03-13T16:28:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-13T17:02:28.000Z (over 9 years ago)
- Last Synced: 2024-05-01T20:25:50.898Z (7 months ago)
- Language: HTML
- Homepage: http://daviddao.github.io/visualise-newick
- Size: 6.59 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Visualizing Newick Formats
This is a small web service to quickly visualise newick formats![alt tag](https://raw.github.com/daviddao/visualise-newick/master/pic.png)
## Tree display
You can easily change the way how your tree is displayed by editing the opts in index.html
````
var opts = {
el : document.getElementById("yourDiv"),
tree : {
data : "(homo_sapiens:12,(mus_musculus:12,(danio_rerio:13,(pan_troglodytes:9,(taeniopygia_guttata:10,callithrix_jacchus:11):12):12):10);",
width : 500,
height : 30,
scale : false,
layoutInput : "vertical",
},
label : {
fontsize : 18,
usePics : true,
pics : {
pictureWidth : 20,
pictureHeight : 20,
},
},
nodes : {
toggle : true,
select: false,
size : 5,
fill : "grey",
stroke : "black",
selectedFill : "steelblue",
selectedSize : 4,
},
};
````