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)
}
cannin/paxtoolsr documentation built on Sept. 12, 2019, 1:43 p.m.