Batch_Net {GmicR}R Documentation

Generates a subgraph from query nodes

Description

Generates a subgraph from query nodes

Usage

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.


[Package GmicR version 1.2.0 Index]