rnb.xml2options: rnb.xml2options

Description Usage Arguments Value Author(s) Examples

View source: R/main.R

Description

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

Usage

1
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

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

RnBeads documentation built on March 3, 2021, 2 a.m.