addCachedYAMLValue: add a stored parameter value for the named config field

Description Usage Arguments Value Examples

View source: R/Environment.R

Description

add a stored parameter value for the named config field

Usage

1
addCachedYAMLValue(yaml = "config", field, value, subenv = NULL)

Arguments

yaml

the name of the yaml container to create

field

the parameter field to lookup

value

to value to update

subenv

the name of subenvironment for holding the yaml

Value

TRUE or FALSE if the change can be made

Examples

1
2
3
4
5
6
init()
yamlFile <- system.file("extdata", "cas9_demo.yaml", package = "nanopoRe")
bamFile <- system.file("extdata", "cas9_FAK76554.bam", package = "nanopoRe")
importConfigYAML(yamlFile=yamlFile)
addCachedYAMLValue(field="bam_file", value=bamFile)
getCachedYAMLValue(field="bam_file")

sagrudd/nanopoRe documentation built on June 7, 2020, 10:20 p.m.