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 Feb. 2, 2023, 11:44 a.m.