downloadSbgnFile: Download pre-generated SBGN-ML file from GitHub

Description Usage Arguments Value Examples

View source: R/download.utilities.R

Description

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

Usage

1
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

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

SBGNview documentation built on March 3, 2021, 2 a.m.