downloadSbgnFile {SBGNview} | R Documentation

## Download pre-generated SBGN-ML file from GitHub

### Description

This function can download our pre-generated SBGN-ML files from GitHub repository.

### Usage

    downloadSbgnFile(pathway.id, download.folder = ".")

### Arguments

`pathway.id` | The ID of pathway. It is a pathway database specific ID. For accepted pathway IDs, please check `data("pathways.info")`. IDs are in column "pathway.id" (pathways.info[,"pathway.id"])
`download.folder` | The output folder to store downloaded SBGN-ML files.

### Value

A character string. The path to the downloaded SBGN-ML file.

### Examples

    data("pathways.info")
    data(sbgn.xmls)
    input.sbgn = downloadSbgnFile(
                      pathway.id = pathways.info[1,"pathway.id"],
                      download.folder = "./")

[Package SBGNview version 1.2.0 Index]