Subtrees from tree

Description

Provides the subtree from a given tree and node.

Usage

1
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.