R/readSbgn.R

Defines functions readSbgn

Documented in readSbgn

#' Read SBGN files as XML documents
#'
#' @param inputFile an inputFile
#' @return an XMLInternalDocument
#'
#' @examples
#' results <- readSbgn(system.file("extdata", "test_sbgn.xml", package="paxtoolsr"))
#'
#' @concept paxtoolsr
#' @export
readSbgn <- function(inputFile) {
    checkInputFilePc(inputFile)

    results <- xmlTreeParse(inputFile, useInternalNodes=TRUE)
    return(results)
}
BioPAX/paxtoolsr documentation built on Jan. 31, 2023, 4:22 a.m.