createPipelineInstance: Create a Pipeline object from a meta-pipeline

Description Usage Arguments Details Value See Also Examples

Description

Create a Pipeline object from a meta-pipeline

Usage

1
2
3
4
5
createPipelineInstance(metaPipelineObj, newParams)

## S4 method for signature 'MetaAnalysisPipeline'
createPipelineInstance(metaPipelineObj,
  newParams)

Arguments

metaPipelineObj

A MetaAnalysisPipeline object

newParams

Either a nested named list containing all the functions in the pipeline, their arguments and corresponding values (OR) an object of class proto which is a pipeline prototype, with the new values of the arguments set. Refer the getPipelinePrototype method.

Details

This method instantiates a Pipeline object (both AnalysisPipeline and StreamingAnalysisPipeline) from a meta-pipeline as well as an object containing the new set of values for the arguments of all the functions in the pipeline.

Value

A Pipeline object

See Also

Other Package core functions: BaseAnalysisPipeline-class, MetaAnalysisPipeline-class, assessEngineSetUp, checkSchemaMatch, exportAsMetaPipeline, generateOutput, genericPipelineException, getInput, getLoggerDetails, getOutputById, getPipelinePrototype, getPipeline, getRegistry, initDfBasedOnType, initialize,BaseAnalysisPipeline-method, loadMetaPipeline, loadPipeline, loadPredefinedFunctionRegistry, loadRegistry, prepExecution, registerFunction, savePipeline, saveRegistry, setInput, setLoggerDetails, updateObject, visualizePipeline

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
pipelineObj <- AnalysisPipeline(input = iris)
pipelineObj %>>% univarCatDistPlots(uniCol = "Species") -> pipelineObj
pipelineObj %>>% exportAsMetaPipeline -> exportedMetaPipeline
exportedMetaPipeline %>>%
createPipelineInstance(newParams = exportedMetaPipeline %>>%
 getPipelinePrototype)

## End(Not run)

analysisPipelines documentation built on July 1, 2020, 7:09 p.m.