downloadSbgnFile {SBGNview} | R Documentation

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

### Description

This function will download a SBGN-ML file from our pre-collected SBGN-ML files given the 'pathway.id' argument.

### Usage

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

### Arguments

`pathway.id` | A character string. The ID of pathway. For accepted pathway IDs, please check `data('pathways.info')`. IDs are in column 'pathway.id' (pathways.info[,'pathway.id'])
`download.folder` | A character string. Default: "./". The output folder to store created SBGN-ML files.

### Value

A vector of character strings. The path to the created SBGN-ML files.

### Examples

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

[Package SBGNview version 1.4.1 Index]