subtree: Subtree

Description Usage Arguments Value Examples

Description

Computes the subtree rooted at a given node.

Usage

1
  subtree(node, tree)

Arguments

tree

a tree in matrix format.

node

a node of the tree.

Value

The edge indices of the subtree rooted at the given node.

Examples

1
2
  data(kidney)
  subtree(14, kidney$res$tree)


Search within the oncomodel package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.