Skip to contents

This function sets the configuration of the pipeline.

Usage

config(pipeline) <- value

# S4 method for class 'FLAMES.Pipeline'
config(pipeline) <- value

Arguments

pipeline

An pipeline of class `FLAMES.Pipeline`.

value

A list containing the configuration of the pipeline, or a path to a JSON configuration file.

Value

An pipeline of class `FLAMES.Pipeline` with the updated configuration.

Examples

pipeline <- example_pipeline(type = "BulkPipeline")
#> Writing configuration parameters to:  /tmp/RtmpA5lNG6/file32906f558cbf/config_file_12944.json 
#> Configured steps: 
#> 	genome_alignment: TRUE
#> 	isoform_identification: TRUE
#> 	read_realignment: TRUE
#> 	transcript_quantification: TRUE
#> samtools not found, will use Rsamtools package instead
# Set a new configuration
config(pipeline) <- create_config(outdir = tempdir())
#> Writing configuration parameters to:  /tmp/RtmpA5lNG6/config_file_12944.json