Learn R Programming

sybil (version 2.0.0)

promptSysBiolAlg: Generate A Skeletal Structure of Subclasses of sysBiolAlg

Description

Generates a skeletal structure of new subclasses of class '>sysBiolAlg, in particular for the constructor method initialize.

Usage

promptSysBiolAlg(algorithm, prefix = "sysBiolAlg", sep = "_",
                   suffix = "R", fpath = ".", ...)

Arguments

algorithm

A single character string containing the name of the new algorithm.

prefix

A single character string containing a prefix for the new algorithm, see Details below. Default: "sysBiolAlg".

sep

A single character string containing a separator for prefix and algorithm. Default: "_".

suffix

A single character string containing a file name suffix. Default: "R".

fpath

A single character string containing a file path. Default: .

Further arguments passed to file.

Value

Returns NULL invisible.

Details

The arguments prefix algorithm are stick together separated by sep (default: a single underscore "_") to get the new class name: prefix_algorithm. The filename will be: prefix_algorithmClass.R.

The class definition in the new file will extend class '>sysBiolAlg directly and will not add any slots. Additionally a skeletal structure for method initialize will be generated. In this method, the user should create all arguments to the initialize method described in the base class '>sysBiolAlg and put them all to callNextMethod. Or, alternatively, generate an instance of class '>optObj “by hand”.

See Also

'>sysBiolAlg