Batch_Net: Generates a subgraph from query nodes

Description Usage Arguments Value

View source: R/bn_tabu_gen_1.R

Description

Generates a subgraph from query nodes

Usage

1
Batch_Net(bn_output, Node_ids, relationship_type = "nbr")

Arguments

bn_output

R object output from bn_tabu_gen function

Node_ids

vector containing the nodes for subgraph generation.

relationship_type

the relationship to be returned for the specified query nodes. The options are "mb", "nbr", "parents", "children". Default setting is "nbr".

Value

a subgraph containg the selected nodes and relationships.


Rvirgenslane/GmicR documentation built on Feb. 5, 2020, 4:08 a.m.