SyDBTree: 'SyDBTree' print a (sub)system as a tree

Description Usage Arguments Value Examples

Description

SyDBTree Produce a tree that shows a (sub)system's hierarchical composition. (Sub)systems that are not found in "db" are not shown. If none of the requested input (sub)systems can be found, the function returns NULL. Subsystems whose code begins with "NOT IN " are sorted to the end of the tree.

Usage

1
SyDBTree(sys, db, MAX = Inf)

Arguments

sys

(character) vector of codes or QQIDs of systems

db

(character) system database

MAX

(numeric) the maximum number of levels to return. Defaults to Inf.

Value

(character) a vector that can be cat()ed to draw the tree

Examples

1
2
3
4
5
## Not run: 
# use cat(..., sep = "\n") to print a tree for a subsystem
cat(SyDBTree(c("NF-kappa-B pathways"), mySDB), sep = "\n")

## End(Not run)

hyginn/BCB420.2019.ESA documentation built on May 29, 2019, 1:23 p.m.