extract_subtrees: extract_subtrees

Description Usage Arguments Value Examples

View source: R/extract_subtrees.R

Description

extract_subtrees extracts unconnected subtrees given a graph and a list of nodes

Usage

1
extract_subtrees(graph, nodes)

Arguments

graph

a graphNEL object

nodes

a character vector of node labels to produce subtrees for

Value

a list of graphNEL objects

Examples

1
listOfSubTrees <- extract_subtrees(graph, nodes)

richysix/miscr documentation built on April 30, 2020, 12:14 a.m.