output: Exports all node/edge/network attributes of a network or a...

Description Usage Arguments Details See Also Examples

View source: R/data.R

Description

output writes all node/edge/network attributes of a network or a set of networks into CSV files.

Usage

1
output(networks)

Arguments

networks

The network or the set of networks

Details

This function writes all node/edge/network attributes of a network or a set of networks into CSV files. For each network, the function exports all data frames of the network object containing structural attributes of the nodes/edges/network and sensitivity values of mutated groups.

The CSV files were outputed with names as follows: [network name]_out_[data-frame name].csv. The structure of these networks are also exported as Tab-separated values text files (.SIF extension).

See Also

loadNetwork, createRBNs

Examples

1
2
3
4
5
6
7
8
9
data(amrn)
# Generate all possible initial-states each containing 10 Boolean nodes
set1 <- generateStates(10, "all")

# Generate all possible groups each containing a single node in the AMRN network
amrn <- generateGroups(amrn, "all", 1, 0)
amrn <- calSensitivity(amrn, set1, "knockout")

output(amrn)

csclab/RMut documentation built on May 14, 2019, 12:07 p.m.