create_udf_node: Create a UDF XML::xmlNode and possibly add it to a parent...

Description Usage Arguments Value

Description

Suppose you have the following UDF attributes and value... x <- c(unit = "uL", type = "Numeric", name = "facs.Padding volume", value = 0.6) Below is the expected appearance of the output ... <udf:field unit="uL" type="Numeric" name="facs.Padding volume">0.6</udf:field>

Usage

1
create_udf_node(x, namespace = "udf", parent = NULL, ...)

Arguments

x

a named character vector with at least "name", "type" and "unit" elements but it may optionally include a "value" element. If value is not provided then the value in the returned node is empty.

namespace

character, the xmlNamespace for the new xmlNode

parent

optional xmlNode to whom to add the new node

...

further arguments for newXMLNode

Value

udf XML::xmlNode


BigelowLab/genologicsr documentation built on May 5, 2019, 2:42 p.m.