Learn R Programming

Seurat (version 4.3.0.1)

PlotClusterTree: Plot clusters as a tree

Description

Plots previously computed tree (from BuildClusterTree)

Usage

PlotClusterTree(object, direction = "downwards", ...)

Value

Plots dendogram (must be precomputed using BuildClusterTree), returns no value

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 ape::plot.phylo

Examples

Run this code
if (requireNamespace("ape", quietly = TRUE)) {
  data("pbmc_small")
  pbmc_small <- BuildClusterTree(object = pbmc_small)
  PlotClusterTree(object = pbmc_small)
}

Run the code above in your browser using DataLab