Displaying 1 result from an estimated 1 matches for "extractexperimentallyverifiedgoannos".
2012 Dec 28
0
How to apply XPath query on XML nodes separately?
...p; '' != uniprot.xml &&
! grepl( uniprot.error.msg.regex, uniprot.xml )
) {
ns <- c( xmlns="http://uniprot.org/uniprot" )
getNodeSet(
xmlInternalTreeParse( uniprot.xml ),
"//xmlns:entry", namespaces=ns
)
} else {
NULL
}
}
extractExperimentallyVerifiedGoAnnos <- function( doc ) {
# Uses XPath to extract those GO annotations that are experimentally
# verified. Note, that warnings generated by calls to the XML library are
# suppressed to not confuse the user, when no experimentally verified GO
# annotations could be found.
#
# Args:
# do...