Skip to main content
100%

Make a nice ClusterTree from the initial ClusterTree plot from Seurat

✓ Published0🌍 Public
FFloWuenne
Last edited Apr 18, 2018
Created on Apr 18, 2018

This example shows a cluster tree visualization derived from a Seurat single-cell analysis, displaying the hierarchical relationships between cell clusters as a phylogenetic-style tree. The plot renders a ladderized dendrogram where nodes are labeled with grey circles, making the branching structure easier to interpret than the default Seurat output. The code uses Seurat’s `BuildClusterTree` function to compute the tree, then plots it with base R’s `plot` and `nodelabels` functions. The visualization applies `ladderize` to reorder branches for clarity and sets custom graphical parameters like `edge.width` and `label.offset` to improve readability. The data source is the Seurat object’s cluster tree, saved as a PNG file.

AI-generated description

Similar vizzes