You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: notebooks/dendrogram.md
+47-73Lines changed: 47 additions & 73 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,16 @@ jupyter:
11
11
display_name: Python 3
12
12
language: python
13
13
name: python3
14
+
language_info:
15
+
codemirror_mode:
16
+
name: ipython
17
+
version: 3
18
+
file_extension: .py
19
+
mimetype: text/x-python
20
+
name: python
21
+
nbconvert_exporter: python
22
+
pygments_lexer: ipython3
23
+
version: 3.6.7
14
24
plotly:
15
25
description: How to make a dendrogram in Python with Plotly.
16
26
display_as: scientific
@@ -24,69 +34,58 @@ jupyter:
24
34
permalink: python/dendrogram/
25
35
thumbnail: thumbnail/dendrogram.jpg
26
36
title: Dendrograms | Plotly
37
+
v4upgrade: true
27
38
---
28
39
29
-
#### New to Plotly?
30
-
Plotly's Python library is free and open source! [Get started](https://plot.ly/python/getting-started/) by downloading the client and [reading the primer](https://plot.ly/python/getting-started/).
31
-
<br>You can set up Plotly to work in [online](https://plot.ly/python/getting-started/#initialization-for-online-plotting) or [offline](https://plot.ly/python/getting-started/#initialization-for-offline-plotting) mode, or in [jupyter notebooks](https://plot.ly/python/getting-started/#start-plotting-online).
32
-
<br>We also have a quick-reference [cheatsheet](https://images.plot.ly/plotly-documentation/images/python_cheat_sheet.pdf) (new!) to help you get started!
33
-
#### Version Check
34
-
Note: Dendrograms are available in version 1.8.7+.
35
-
Run `pip install plotly --upgrade` to update your Plotly version.
40
+
#### Basic Dendrogram
36
41
37
-
```python
38
-
import plotly
39
-
plotly.__version__
40
-
```
42
+
A [dendrogram](https://en.wikipedia.org/wiki/Dendrogram) is a diagram representing a tree. The figure factory `create_dendrogram` performs [hierachical clustering](https://en.wikipedia.org/wiki/Hierarchical_clustering) on data and represents the resulting tree. Values on the tree depth axis correspond to distances between clusters.
41
43
42
-
##### Basic Dendrogram
44
+
Dendrogram plots are commonly used in computational biology to show the clustering of genes or samples, sometimes in the margin of heatmaps.
0 commit comments