PlotClusterTree: Plot clusters as a tree

Description Usage Arguments Value Examples

View source: R/visualization.R

Description

Plots previously computed tree (from BuildClusterTree)

Usage

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

Value

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

Examples

1
2
3
4
5
if (requireNamespace("ape", quietly = TRUE)) {
  data("pbmc_small")
  pbmc_small <- BuildClusterTree(object = pbmc_small)
  PlotClusterTree(object = pbmc_small)
}

mrod0101/seurat documentation built on March 2, 2022, 12:17 a.m.