Description Usage Arguments Value Author(s) See Also Examples
View source: R/functions-xml.R
This functions reads the content of Affymetrix DTT (MAGE) or ARR
sample files, or AffxNetAffxAnnotFile array annotation files, return
an internal representation of the underlying XML. The return value can
be used with xclass
to rapidly create R objects
representing deeply nested nodes of the document. The return value can
also be used with xpathApply
in the XML package for
access to character-based representation of the data.
1 |
fl |
A length-1 character vector giving the full path to the file to be parsed. |
... |
Additional arguments, passed to
|
An object of class XMLInternalDocument
.
Martin Morgan
The vignettes ‘Retrieving MAGE and ARR sample attributes’ and ‘Annotation retrieval with NetAffxResource’ for detailed illustration of use.
xclass
for instantiating objects from xpath queries.
1 2 3 4 | mageDir <- system.file("extdata", "DTT", package="AffyCompatible")
mageFiles <- list.files(mageDir, full=TRUE)
xml <- readXml(mageFiles[[1]])
xclass(xml, "//MeasuredBioAssay")[[1]]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.