Description Usage Arguments Value Examples
update the stored parameter value from named config field
1 | setCachedYAMLValue(yaml = "config", field, value, subenv = NULL)
|
yaml |
the name of the YAML object |
field |
the parameter field to lookup |
value |
to value to update |
subenv |
the sub-environment to process |
TRUE or FALSE if the change can be made
1 2 3 4 5 6 7 | init()
yamlFile <- system.file("extdata", "cas9_demo.yaml", package = "nanopoRe")
importConfigYAML(yamlFile=yamlFile)
referenceGenome <- system.file("extdata", "cas9_demo_ref.fasta",
package = "nanopoRe")
setCachedYAMLValue(field="reference_genome", value=referenceGenome)
getCachedYAMLValue(field="reference_genome")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.