Description Usage Arguments Details Value Examples
Constructs a phylogenetic tree relating the 'average' cell from each identity class. Tree is estimated based on a distance matrix constructed in either gene expression space or PCA space.
1 2 |
object |
Seurat object |
features |
Genes to use for the analysis. Default is the set of
variable genes ( |
dims |
If set, tree is calculated in PCA space; overrides |
graph |
If graph is passed, build tree based on graph connectivity between
clusters; overrides |
reorder |
Re-order identity classes (factor ordering), according to position on the tree. This groups similar classes together which can be helpful, for example, when drawing violin plots. |
reorder.numeric |
Re-order identity classes according to position on the tree, assigning a numeric value ('1' is the leftmost node) |
verbose |
Show progress updates |
Note that the tree is calculated for an 'average' cell, so gene expression or PC scores are averaged across all cells in an identity class before the tree is constructed.
A Seurat object where the cluster tree can be accessed with Tool
1 2 3 | pbmc_small
pbmc_small <- BuildClusterTree(object = pbmc_small)
Tool(object = pbmc_small, slot = 'BuildClusterTree')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.