View source: R/utils_followPath.R
followPath | R Documentation |
Takes a hierarchy list (tree), a path written in a vector pasted with sep, and returns the leaf.
followPath(tree, path, sep = "/", root = "root")
tree |
explored hierarchy list thanks to path |
path |
vector of characters matching tree's nodes' names and separated with sep. |
sep |
separators between path elements (aka tree names) |
root |
if your path has a root name for root node, enter its name here. Else, enter NULL. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.