rnb.xml2options {RnBeads} | R Documentation

## 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.

### Author(s)

Yassen Assenov

### Examples

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

[Package RnBeads version 2.12.2 Index]