Learn R Programming

BTR (version 1.2.4)

writeBM: Write Boolean Model

Description

This method writes the S4 BoolModel object into a CSV file. This method is a wrapper for print.BoolModel. The output is a data frame, with two columns: (1) target genes, (2) Boolean rules.

Usage

writeBM(bmodel, file, gene.names = F, rownames = F)

Arguments

bmodel
S4 BoolModel object.
file
file name with path, or a file connection object.
gene.names
logical. Specify whether to write rules in terms of genes or internal variables. Default to FALSE.
rownames
logical. It specifies whether to write row names.