Learn R Programming

BTR (version 1.2.4)

outgraph_model: Output a Boolean Model into Cytoscape & Gephi readable format

Description

This function outputs a Boolean Model in a format that is readable by Cytoscape and Gephi. Return invisibly the edges (with edge attributes) and node attributes. (i.e. list of 2 dfs)

Usage

outgraph_model(bmodel, path = getwd(), file = NULL, and_node = T)

Arguments

bmodel
S4 BoolModel object.
path
character. Specify path (AND NOT file name). Default to current working directory, i.e. getwd(). Set to NULL to disable file output.
file
character. Specify file name. Default to NULL for default file names.
and_node
logical. Specify AND as an individual node. Default to T.