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)
}

Try the paxtoolsr package in your browser

Any scripts or data that you put into this service are public.

paxtoolsr documentation built on Nov. 8, 2020, 8:29 p.m.