Learn R Programming

pergola (version 1.0)

getSubtree: Subtrees from tree

Description

Provides the subtree from a given tree and node.

Usage

getSubtree(merge, i = NULL, leaves = FALSE)

Arguments

merge
Tree from hierarchical clustering.
i
Node number.
leaves
Logical. If TRUE the leaves will be provided.

Value

Vector containing indices.