subtree {oncomodel}R Documentation

Subtree

Description

Computes the subtree rooted at a given node.

Usage

subtree(node, tree)

Arguments

node a node of the tree.
tree a tree in matrix format.

Value

the subtree rooted at the given node.

Examples

data(kidney)
subtree(14, kidney$tree)

[Package oncomodel version 0.8 Index]