Learn R Programming

FlowCAr (version 1.1.1)

enaListGen: A one step method which creates a list of the limfile, list of LIM networks and list of packed enaR entwork objects.

Description

The main function enaListGen produces a list which contains the limfile (created through LIMbuild), the list of LIM networks (created through limListGen) and the list of enaR network objects. The enaR network objects are created from a specified LIM input file, ready for use in enaR.

Usage

enaListGen(Rfile, limfile, limList, limName, limListName, enaListName, 
           storeAll, flowCheck, ...)

Arguments

Rfile

This is the user generated R text file defining the network.

limfile

The created limfile (LIMbuild)

limList

The list of networks solved using LIM (limListGen)

limName

If no limfile exists, the name of the limfile for the function to output

limListName

If no limList exists, the name of the limList for the function to output

enaListName

The name of the enaR network object list for the function to output

storeAll

Boolean. Indicates whether to store each enaR component as a separate list.

flowCheck

Boolean. Indicates whether to run flowCheck function.

...

Parameters avaliable through the use of the xsample function.

Value

A list containing three objects

[[1]] The limfile

[[2]] The list of LIM networks

[[3]] The list of enaR network objects

Examples

Run this code
# NOT RUN {
#All steps in one
data(N4list)
# }
# NOT RUN {
N4list <- enaListGen("4node.R", limName = "lim4",
                   limListName = "ll4", enaListName = "ena4",storeAll = FALSE,
                   flowCheck = FALSE, iter = 10000, jmp = NULL)
                   
#creates the following object

###If the limfile and limList has been created
N4LIM <- data(N4LIM)
N4list <- enaListGen(limfile = N4,limList = N4LIM, enaListName = "ena4")
###If only the limfile has been created
N4list <- enaListGen(limfile = N4,limListName = "lim4node",enaListName = "ena4",
                       iter = 10000, jmp = NULL)
# }

Run the code above in your browser using DataLab