Learn R Programming

RnBeads (version 1.4.0)

rnb.xml2options: rnb.xml2options

Description

Parses and partially validates parameters and RnBeads options from an XML tree.

Usage

rnb.xml2options(fname, return.full.structure = FALSE)

Arguments

fname
File name containing the XML analysis option values. The name of the root node in this document must be "rnb.xml".
return.full.structure
if enabled, return the full structure instead of just the option list

Value

List of two sublists - "analysis.params" and "options", storing the specified analysis parameters and previous values of the RnBeads options, respectively.

Examples

Run this code

fname <- paste0("extdata/optionProfiles/",profile,".xml")
rnb.xml2options(system.file(fname,package="RnBeads"))

Run the code above in your browser using DataLab