The Dendrogrammer
Dendrogram  Demo data
Look under the "Help" tab above for the Quick-start guide.

  

Load different data

Load a different data set by clicking one of the links in the table below.
eciQc3pt1FullE2kExRjctdBalByScrpTermTop11ClstrLocn-single-cityblock.dat
eciQc3pt1FullE2kExRjctdBalByScrpTermTop11ClstrLocn-single-euclidean.dat
eciQc3pt1FullE2kExRjctdBalByScrpTermTop11ClstrTerm-single-cityblock.dat
eciQc3pt1FullE2kExRjctdBalByScrpTermTop11ClstrTerm-single-euclidean.dat
eciQc3pt1FullE2kExRjctdUnfilteredClstrLocn-single-cityblock.dat
eciQc3pt1FullE2kExRjctdUnfilteredClstrLocn-single-euclidean.dat
eciQc3pt1FullE2kExRjctdUnfilteredClstrTerm-single-cityblock.dat
eciQc3pt1FullE2kExRjctdUnfilteredClstrTerm-single-euclidean.dat
eciQc3pt1batches01-05ClstrTerm-single-euclidean.dat
eciQc3pt1batches01-05Top5PerTerm-LocnVectorsClstrLocn-single-euclidean.dat
eciQc3pt1batches01-05Top5PerTerm-TermVectorsClstrTerm-single-euclidean.dat

The current data

Below are details of the currently loaded data set:
The largest merge height (dissimilarity value) is 0.
There are 0 leaf nodes.

Dat file name=eciQc3pt1FullE2kExRjctdBalByScrpTermTop11ClstrTerm-single-euclidean.dat

It contains the following data file names and description text:
Line NoFile name
1eciQc3pt1FullE2kExRjctdBalByScrpTermTop11ClstrTerm-single-euclidean.node.csv
2eciQc3pt1FullE2kExRjctdBalByScrpTermTop11ClstrTerm-single-euclidean.leaf.csv
3Data from :eciQc3pt1FullE2kExRjctdBalByScrpTermTop11Linkage :singleMetric :euclidean
4http://www.macs.hw.ac.uk/~dar14/fb3/eci_pics_db_manager.php?action=find_by_exptNoCsList&showExptNos=
5

Node file name=eciQc3pt1FullE2kExRjctdBalByScrpTermTop11ClstrTerm-single-euclidean.node.csv

Line Nocol1col2col3
116170.1
2182040.11617962
31161170.12247449
4222050.12247449
5122070.12364919
6212080.12927499
724270.13142102
814150.14142136
9202090.15
10322100.15
111641670.15410127
122112120.15811388
13252130.15811388
14390.16583124
152110.16583124
16192150.16583124
17132190.17127966
18102170.17320508
191551580.17320508
202182210.17320508
21232160.17320508
22312240.18037357
23262250.18037357
2489900.18708287
25332260.19364917
26292280.19364917
27302290.19364917
281361370.2
2992930.2
3072230.20369306
311931970.20615528
3256580.20615528
331121130.20615528
342062360.21213203
35150.21213203
361431440.21794495
371381390.21794495
38942320.21794495
392272410.21794495
401182370.2236068
411992340.2236068
421542220.2236068
432332380.22717804
442012440.22912878
4534390.22912878
46982420.22912878
471731750.23452079
481561590.23452079
491192430.23452079
501142520.23452079
5182460.23452079
5281840.23452079
5352630.23452079
5468700.23452079
551721760.2387018
562022470.23979158
571092530.23979158
581332310.23979158
59282300.24492047
601342610.24494897
611112600.24494897
621102640.24494897
63912490.24494897
641952030.25
651772500.25
662452510.25
671511520.25
681352630.25
69872550.25
7069750.25
712572730.25
721891910.25
732592670.25495098
7442540.25495098
7583860.25495098
7671730.25495098
771851860.26457513
781821840.26457513
79762790.26925824
802802810.26925824
81662560.26925824
821411470.27386128
831221240.27386128
841152650.27386128
85372480.27838822
861302860.27838822
871602140.27891684
881622900.28167765
8962770.28274234
901812840.28284271
91352880.28284271
92672740.28284271
931232890.28284271
941702910.2854563
951011070.28722813
961942760.28722813
97642710.28722813
982933000.28722813
99972660.28722813
1001422400.29154759
1011323010.29154759
1021712680.29154759
1031682970.29154759
1042692700.29580399
105993020.29580399
1061793050.29580399
107822720.29580399
108953080.3
1091982990.3
1102943040.3
1111663060.3
1121262960.3
1131633140.30266186
1141201210.30413813
11547490.30413813
1161653160.30413813
1171533070.30413813
1181493200.30413813
1192752830.30413813
1201782580.30679195
1211963120.3082207
1221573210.3082207
1231452390.30918516
1243153170.3122499
125722950.3122499
126453180.3122499
1271871900.3122499
1281273270.31622777
1291613190.31622777
1302783100.31622777
1311001050.31880183
132653310.32015621
1331253350.32015621
1341803130.32015621
1353223300.32015621
136803330.32015621
1371063340.32015621
1383243400.32403703
1391283360.32403703
140623090.32403703
1413373420.32403703
1421833380.32403703
143883390.32403703
1443233430.32543348
1453443470.32787193
146743280.32787193
1471403260.32787193
148543450.33166248
1492983410.3354102
1501743480.3354102
151963110.3354102
1523513530.3354102
153853460.3354102
1541293550.33547758
1551021040.34151515
1562003520.34278273
1571503250.34278273
1582823490.34641016
15946500.35
16059600.35355339
1613033500.35624615
162773610.35707142
1633293620.35707142
1641693320.35707142
165793560.36400549
1662853640.36400549
16740440.36742346
168363700.36742346
169423570.36742346
170433720.37080992
1711463690.37080992
1723733740.37408245
1733713750.37416574
1743683760.37416574
175573770.37749172
176413780.38078866
1771923790.38078866
1783663800.38078866
1792353810.38405729
180383820.38405729
1813603830.38729833
1823583590.39051248
1831033850.39370039
184513840.39370039
1853633870.39370039
186613880.39370039
1873863890.3968627
188533900.4
1891083910.40798424
1901483920.40926764
1913673930.41231056
1923653940.41833001
1931313950.42130749
1941883960.4330127
195553970.45276926
196783980.48476799
1972873990.54772256
198484000.57227616
1993544010.5809475
2002624020.61237244
2012924030.61237244
2022204040.70178344

Leaf file name=eciQc3pt1FullE2kExRjctdBalByScrpTermTop11ClstrTerm-single-euclidean.leaf.csv

Line Nocol1col2
110246
210036
310042
410993
511026
611735
711048
810035
910330
1010386
1111016
1210234
1311694
1411209
1511620
1611759
1711778
1811867
1910075
2011008
2111470
2210056
2311988
2410982
2510461
2610528
2711036
2810690
2910590
3010953
3111311
3211667
3311944
3411725
3510142
3611757
3710572
3810077
3911193
4011292
4111666
4211916
4310074
4410894
4510455
4610025
4710701
4811551
4911082
5011593
5111519
5210712
5310087
5411833
5510487
5611906
5710367
5811520
5910265
6011885
6110974
6211736
6310676
6411351
6511998
6611962
6711114
6810930
6910851
7010649
7111446
7210916
7310308
7411424
7510253
7611606
7710227
7811507
7910159
8010663
8111923
8210430
8311610
8411658
8510648
8611352
8711588
8810542
8910417
9010551
9110168
9211013
9311533
9411157
9510031
9611472
9711734
9811743
9911012
10010342
10110175
10210091
10311367
10410546
10511038
10611254
10711529
10810353
10910570
11010722
11110996
11211541
11310252
11411589
11510574
11610700
11711717
11811957
11911707
12011072
12111063
12210451
12311932
12410201
12511325
12610052
12710255
12811366
12911851
13010336
13111517
13211783
13310762
13410431
13510757
13611535
13711360
13811273
13911510
14011196
14111714
14211828
14310545
14411030
14510055
14610108
14710654
14811374
14911569
15010939
15110984
15210581
15311890
15410322
15510591
15611339
15711583
15811826
15911870
16010817
16110314
16210640
16311151
16410413
16510843
16610344
16710155
16810543
16910875
17011158
17110072
17211131
17311000
17410475
17511584
17610836
17710598
17810610
17911671
18010622
18110877
18211044
18310109
18410011
18511581
18610440
18711624
18810497
18911585
19011724
19110453
19210977
19311405
19411138
19511272
19610786
19710862
19810016
19910139
20011361
20110305
20210315
20310459

Groups data will be displayed here.

Here will appear output in response to formation of groups using the green dragable threshold bar and the "Apply threshold" button, or the "Set no.of groups" toolbar.

Dendrogrammer v 1.0.5

The Dendrogrammer was created as one component in the analysis of multivariate data. In particular it is intended to allow already pre-processed data to be
  • classified into groups and then either
  • used in further analysis, or
  • used in some form of presentation about the data.
Current Features
  • Dendrogram construction
  • File read
  • File read now includes a manifest file which cues a clustering data file (node data) and a leaf description data file (leaf data).
  • File read now is integrated in the application page. Hard coded data loads if no data files are found.
  • Window width optimisation
  • Group formation by adjustable threshold
  • Cluster click/tap reports into dialog
  • Group formation reports with dialog, reports into separate tab, that tab pulses to notify. The pulsing stops when the tab is clicked
  • The threshold is a dragable element on the graph
  • The threshold can be adjusted also using toolbar buttons
  • The desired number of groups can be entered and it will set the threshold to fit
  • Leaf labels on the vertical axis. These are interactively styled in response to events.
  • Dialogs now guaranteed to be under 75% of window ht, scrolling if needed and using a default or wider width as appropriate on PC platform. Scrolling dialogs are not deployed on tablet platform as these are not suitable for tablets.
  • The group banding (and groups) can be removed with the "Remove" button
  • Summary dendrogram: For use in dendrograms with a very large number of leaves. Effectively truncating the dendrogram up from 0 ht to a level at which the structure can be discerned and then the clusters interrogated, rather than having hundreds of leaves along the bottom.
  • The Descendant Nodes Dialog contains a search link. The URL for this is specified in the .dat file which loads the data. The search link passes the cluster's leaf terms to a search engine.
Documentation The technologies deployed in the application include
  • JavaScript - The major part of the application is written in JavaScript
  • Raphael Javscript library (by Dmitry Baranovskiy) - Used to make the dendrogram graphic elements. Raphael is truly amazing.
  • (Indirectly) SVG and VML - Raphael uses SVG or VML to do the drawing. Raphael switches seemlessly depending on the browser
  • jQuery - For some of the cross browser Dynamic HTML
  • jQuery UI - For some of the user interface supporting the application
  • HTML5 - Although there is nothing especially HTML5 about it really.
  • PHP - the data files are loaded using PHP.
The Dendrogrammer was created
  • by David Allan Robb
  • for his MSc project at Heriot-Watt University
  • in summer 2011
Quick-start Guide

In a nutshell-
  • Drag the green bar (Threshold bar) to adjust the dissimilarity threshold for group formation. Then click the "Apply threshold" button to form groups.
  • "Remove" will get rid of the groups.
  • Or enter the desired no. of groups in the "no. of groups field" and click the "Apply no. of groups" button.
  • To create a summary dendrogram, drag the threshold, then click "Truncate".
  • "Restore" redraws the original dendrogram.
  • Another way to adjust the threshold is to enter a number in the "Threshold value field".
Help

Dendrogram tab - View and interact with the dendrogram made from the clustering data.

  • Click or tap a cluster (element on the graph). Then read about that cluster in the dialog that appears.
  • That dialog also contains a search link. The URL for this is specified in the .dat file which loads the data. The search link passes the cluster's leaf terms to a search engine. It should open in a browser pop-up window or browser tab.
  • Adjust the green threshold bar and click the button to form groups of leaves (data points)
  • See more detail about the groups you form under the "Groups" tab.
  • The threshold can be adjusted by click-and-drag on the green bar, or using the threshold toolbar buttons, or entering a number in the "Threshold value field".
  • If you are using a tablet computer then drag on the green bar with your finger. If you find you can't drag the bar accurately then use the toolbar buttons to move the threshold. You might find that after moving the threshold bar away from the max with a button then you can get a better feel for how it drags using your finger.
  • If using the toolbar fine adjust buttons (plus and minus), note that the amount of movement with minus is set slightly less that with plus. This allows even more fine adjustment if you alternate from plus to minus around the point you are looking for.
  • To specify a given number of groups, enter the desired number in the field next to the "Apply no.of groups" button and click the button. The threshold will be chosen automatically for you.
  • To view a summary dendrogram (or truncated dendrogram), drag the threshold to some point below which you wish to discard the leaf detail. Then click the "Truncate" button. The resulting summary dendrogram will have everything below the threshold removed and be reshaped to fit the previous space. The origin is at the dissimilarity ht. you chose with the threshold bar. Tapping/clicking a cluster will still report all the leaf detail as before, despite the leaves being invisible. Groups can be formed in the same manner as before.
  • The "Restore" button will restore the original full dendrogram and the leaves as it was when you first viewed the current data. Loading new data or the same data again will have the same effect, as will reloading the page with your browser.
  • Use Control and + or - to zoom in and out ( or pinch on a tablet ). Look in your browser's View menu for more zoom controls.
  • What equipment to use: The dendrogrammer was designed to be cross platform (works on PCs with mouse and tablets with tap)
  • What browser to use: The dendrogrammer was designed to be cross browser. It is written in JavaScript (with a little bit of PHP to load the data). So it works in pretty much any browser that has Javascript enabled. However it is my experience that if one considers the latest browsers, the JavaScript interpreters in Firefox (Gekko with Tracemonkey), Safari (Webkit with Squirrelfish), and Chrome (Webkit with V8) are significantly faster (e.g. by a factor of 2 and more) than the "JScript" engine in Internet Explorer 8 and below (However, IE9 32-bit is good, but IE9 64-bit is reputed to be slow). So if one is seeking faster smoother performance with this particular application then one might wish to use Firefox, Chrome, or Safari (as at July 2011).

Data tab - Load different data or find out about the current data used to make the dendrogram.

  • A table of links is shown representing all the available data sets. Clicking a link loads that data set and makes a dendrogram from it.
  • The currently loaded data set is described and displayed in 3 tables
  • One table shows the contents of the .dat (or manifest) file. This contains meta data about the data set: the names of the two data files and a description of the data set.
  • The next table shows the contents of the clustering data file (or node file). This should be a csv file generated by MATLAB. It should have 3 columns. The first two columns are cluster or leaf designation numbers. The third column contains the merge height or similarity measure for that cluster.
  • The last table shows the contents of the leaf description data file (or leaf file). This is a csv file. The first row describes leaf number one. The second row describes leaf number two and so on. It should contain two columns. Column one should hold the short leaf descriptions or labels. Column 2 should contain a longer description for each leaf (this can be a repeat of the short label).
  • Loading a new data set or the same data set again will result in a page refresh and will clear any displayed groups or summary dendrogram which you may be displayed on the Dendrogram tab.
  • Adding further data sets can only be done by someone with write-access to the web space where the application resides (See 'Documentation' in the About tab.)

Groups tab- View the detail of the groups formed using the threshold adjuster and toolbar.

  • The detail can be copied and pasted into other software for further analysis or presentation.

About tab - Read about the application.

Help tab - This page you are reading now is the Help.

Zoom Help

If you find the leaf labels too small you may wish to zoom in. If you find your screen height too small to fit a large dendrogram you may wish to zoom out.

How to zoom on a PC or laptop

  • On most browsers Control and + will zoom in.
  • Control and - will zoom out.
  • Control and mouse wheel works too on most browsers.
  • Look in your browser's View menu for more zoom commands. E.g. Some browsers offer a separate zoom for text only. If using that, bear in mind that your browser sees the entire dendrogram including leaf labels as graphics.
  • Once you have zoomed, refreshing the page will adjust the dendrogram to fit the width you have chosen.

On a tablet device

  • Use the open or close pinch gesture to zoom.
  • Once you have zoomed in, as you would expect, refreshing the page does not affect the dendrogram size. It remains zoomed until you zoom back.

Summary Dendrogram feature

  • By setting the threshold bar and clicking "Truncate" you can reduce the amount of leaf detail displayed and reduce the height of the dendrogram.
  • Clicking a cluster on a summary dendrogram still reveals all of its descendant leaf detail in the dialogs. Group formation works as normal.
  • The "Restore" button restores the normal dendrogram.