(Advanced) Read XML files of Affymetrix sample attriubtes or annotation
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.readXml(fl, ...)
xmlTreeParse
.XMLInternalDocument
.
xclass
for instantiating objects from xpath queries.
mageDir <- system.file("extdata", "DTT", package="AffyCompatible")
mageFiles <- list.files(mageDir, full=TRUE)
xml <- readXml(mageFiles[[1]])
xclass(xml, "//MeasuredBioAssay")[[1]]
Run the code above in your browser using DataLab