R/readBiopax.R

Defines functions readBiopax

Documented in readBiopax

#' Read BioPAX files as XML documents
#'
#' @param inputFile an inputFile
#' @return an XMLInternalDocument
#'
#' @examples
#' results <- readBiopax(system.file("extdata", "biopax3-short-metabolic-pathway.owl",
#'   package="paxtoolsr"))
#'
#' @concept paxtoolsr
#' @export
readBiopax <- function(inputFile) {
    checkInputFilePc(inputFile)

    results <- xmlTreeParse(inputFile, useInternalNodes=TRUE)
    return(results)
}
cannin/paxtoolsr documentation built on Sept. 12, 2019, 1:43 p.m.