findSet: Find ancestor of a node in the tree

Description Usage Arguments Value Author(s) Examples

View source: R/evaluate.R

Description

Return a set containing the node itself and its ancestors

Usage

1
findSet(name, tree)

Arguments

name

name of the node

tree

data.tree object storing the hierarchy used during classification

Value

A set containing the name of the node and its ancestors

Author(s)

Lieke Michielsen and Jose Alquicira-Hernandez

Examples

1
2
3
library(data.tree)

nodeSet <- findSet('B cells', tree)

joseah/HierscPred documentation built on Nov. 25, 2021, 12:20 p.m.