PlotClusterTree {Seurat} | R Documentation |
Plot clusters as a tree
Description
Plots previously computed tree (from BuildClusterTree)
Usage
PlotClusterTree(object, direction = "downwards", ...)
Arguments
object |
Seurat object |
direction |
A character string specifying the direction of the tree (default is downwards) Possible options: "rightwards", "leftwards", "upwards", and "downwards". |
... |
Additional arguments to
|
Value
Plots dendogram (must be precomputed using BuildClusterTree), returns no value
Examples
## Not run:
if (requireNamespace("ape", quietly = TRUE)) {
data("pbmc_small")
pbmc_small <- BuildClusterTree(object = pbmc_small)
PlotClusterTree(object = pbmc_small)
}
## End(Not run)
[Package Seurat version 5.1.0 Index]