parseParameters | R Documentation |
Import analysis parameters from a .yaml
format file or export an AnalysisParameters
object to .yaml
format.
parseParameters(path)
exportParameters(d, file = "analysis_parameters.yaml")
## S4 method for signature 'AnalysisParameters'
exportParameters(d, file = "analysis_parameters.yaml")
## S4 method for signature 'Analysis'
exportParameters(d, file = "analysis_parameters.yaml")
path |
file path of .yaml file to parse |
d |
S4 object of class AnalysisParameters or Analysis |
file |
File name and path to export to |
## Import analysis parameters
paramFile <- system.file('defaultParameters.yaml',package = 'metabolyseR')
p <- parseParameters(paramFile)
p
## Not run:
## Export analysis parameters
exportParameters(p,file = 'analysis_parameters.yaml')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.