Learn R Programming

Seurat (version 2.1.0)

AssessNodes: Assess Internal Nodes

Description

Method for automating assessment of tree splits over all internal nodes, or a provided list of internal nodes. Uses AssessSplit() for calculation of Out of Bag error (proxy for confidence in split).

Usage

AssessNodes(object, node.list, all.below = FALSE)

Arguments

object

Seurat object

node.list

List of internal nodes to assess and return

all.below

If single node provided in node.list, assess all splits below (and including) provided node .

Value

Returns the Out of Bag error for a random forest classifiers trained on each internal node split or each split provided in the node list.

Examples

Run this code
# NOT RUN {
pbmc_small
pbmc_small <- FindClusters(object = pbmc_small, reduction.type = "pca",
                           dims.use = 1:10, resolution = 1.1, save.SNN = TRUE)
pbmc_small <- BuildClusterTree(pbmc_small, reorder.numeric = TRUE, do.reorder = TRUE)
AssessNodes(pbmc_small)

# }

Run the code above in your browser using DataLab