Skip to content

Commit c3eefab

Browse files
author
Lukasz Kreft
committed
documentation update, more examples
1 parent 2a46ff6 commit c3eefab

26 files changed

+11657
-35471
lines changed

dist.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ var compressor = require('node-minify');
33
compressor.minify({
44
compressor: 'gcc',
55
input: 'js/phyd3.*.js',
6-
output: 'js/phyd3.min.js'
6+
output: '/tmp/phyd3.min.js'
77
}).then(function(min) {
88
compressor.minify({
99
compressor: 'no-compress',
10-
input: 'js/*.min.js',
10+
input: ['js/*.min.js', '/tmp/phyd3.min.js'],
1111
output: 'dist/js/phyd3.min.js'
1212
});
1313
});

dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
showNodesType: "only leaf",
3636
showPhylogram: false,
3737
showTaxonomy: true,
38-
showFullTaxonomy: true,
38+
showFullTaxonomy: false,
3939
showSequences: true,
4040
showTaxonomyColors: true,
4141
backgroundColor: "#f5f5f5",

dist/js/phyd3.min.js

Lines changed: 93 additions & 94 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

documentation.html

100755100644
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h3><a class="no-decoration" name="extended+phyloXML">Extended phyloXML</a></h3>
6565
You can specify the taxonomy name, color and URL in the &lt;taxonomies&gt; section of extended phyloXML.<br />
6666
These information will be displayed on the tree, in node infobox as well as used for taxonomy colorization.<br />
6767
The taxonomy codes must match ones used in phylogeny. Use HEX values for colors (0xRRGGBB). Use full URL for links (starting with http://).<br />
68-
See the example below.
68+
See the code below and also <a href="http://10.10.10.10/lkreft/phyd3/view.php?id=taxonomy.xml&f=xml">working example</a>.
6969
<pre>
7070
&lt;phyloxml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phyloxml.org"
7171
xsi:schemaLocation="http://www.phyloxml.org http://www.phyloxml.org/1.10/phyloxml.xsd"&gt;
@@ -93,7 +93,7 @@ <h3><a class="no-decoration" name="extended+phyloXML">Extended phyloXML</a></h3>
9393
You can specify domain description, color and URL in the &lt;domains&gt; section of extended phyloXML.<br />
9494
These information will be displayed on the tree, in node infobox as well as used for domain colorization.<br />
9595
The domain codes must match ones used in phylogeny. Use HEX values for colors (0xRRGGBB). Use full URL for links (starting with http://).<br />
96-
See the example below.
96+
See the code below and also <a href="http://10.10.10.10/lkreft/phyd3/view.php?id=domains.xml&f=xml">working example</a>.
9797
<pre>
9898
&lt;phyloxml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phyloxml.org"
9999
xsi:schemaLocation="http://www.phyloxml.org http://www.phyloxml.org/1.10/phyloxml.xsd"&gt;
@@ -130,7 +130,7 @@ <h3><a class="no-decoration" name="extended+phyloXML">Extended phyloXML</a></h3>
130130
It is possible to display on the tree additional node labels. Those labels can be created from existing node properties or other tags. <br />
131131
There are two kinds of labels: text labels and color labels.<br />
132132
To specify which properties to show use &lt;labels&gt; section in extended phyloXML. Type can be either text or color. Data tag and ref must match the intended clade property to be displayed. Use HEX values for colors (0xRRGGBB).<br />
133-
See the example below.
133+
See the code below and also <a href="http://10.10.10.10/lkreft/phyd3/view.php?id=labels.xml&f=xml">working example</a>.
134134
<pre>
135135
&lt;phyloxml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phyloxml.org"
136136
xsi:schemaLocation="http://www.phyloxml.org http://www.phyloxml.org/1.10/phyloxml.xsd"&gt;
@@ -167,7 +167,7 @@ <h3><a class="no-decoration" name="extended+phyloXML">Extended phyloXML</a></h3>
167167
<li><b>legend</b> - for each value series of your data, you need to specify the legend field; for each field you need to put field name (which will be displayed to the user in legend and infobox popup), color that will be used to draw this series (for all graph types besides heatmap) and for binary graph also a symbol shape (one of circle); additionally for heatmap you need to specify which gradient spec to use (name &amp; classes following the <a href="http://colorbrewer2.org/" target="_blank">ColorBrewer2</a>)
168168
<li><b>data</b> - for each clade id you wish to display the graph for, you need to include data values, ordered in series defined in legend; you can also use existing tags or properties from phylogeny tree, referencing them by tag and ref attributes of data tag; to turn single values into pie charts use <b>min</b> and <b>max</b> tags inside <b>data</b> tag.
169169
</ol>
170-
See the example below.
170+
See the code below and also working examples of <a href="http://10.10.10.10/lkreft/phyd3/view.php?id=outergraphs.xml&f=xml">leaf node graphs</a> or <a href="http://10.10.10.10/lkreft/phyd3/view.php?id=innergraphs.xml&f=xml">inner node graphs</a>.
171171
<pre>
172172
&lt;phyloxml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phyloxml.org"
173173
xsi:schemaLocation="http://www.phyloxml.org http://www.phyloxml.org/1.10/phyloxml.xsd"&gt;

fetch.php

100755100644
File mode changed.

img/BITS.png

100755100644
File mode changed.

index.html

100755100644
File mode changed.

0 commit comments

Comments
 (0)