Displaying 1 result from an estimated 1 matches for "s4_aa_class".
2012 Aug 10
3
Parsing large XML documents in R - how to optimize the speed?
...n(peptide.node) {
peptide <- new('S4_peptide_class')
## fill in a couple of attributes of the peptide object using xmlValue
and xmlAttrs(peptide.node)
peptide@aas <- sapply(xmlElementsByTagName(peptide.node, name="aa"),
function(aa.node) {
aa <- new('S4_aa_class')
## fill in a couple of attributes of the 'aa' object using xmlValue
and xmlAttrs(aa.node)
})
})
})
free(xml.doc)
Does anyone know a better and quicker way of doing this?
Sorry for the very long message and thank you very much for your time and
help!
Frederic
[[altern...