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

View source: R/download.utilities.R

downloadSbgnFileR 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 = './')

datapplab/SBGNview documentation built on June 20, 2022, 9:55 p.m.