Learn R Programming

monocle (version 1.6.2)

minSpanningTree: Retrieve the minimum spanning tree generated by Monocle during cell ordering.

Description

Retrieves the minimum spanning tree (MST) that Monocle constructs during orderCells(). This MST is mostly used in plot_spanning_tree to help assess the accuracy of Monocle's ordering.

Usage

minSpanningTree(cds)

Arguments

cds
expression data matrix for an experiment

Value

  • An igraph object representing the CellDataSet's minimum spanning tree.

Examples

Run this code
data(HSMM)
T <- minSpanningTree(HSMM)

Run the code above in your browser using DataLab