downloadPathwayArchive: Download Pathway Archive

Description Usage Arguments Details Value See Also Examples

View source: R/downloadPathwayArchive.R

Description

Access the monthly archives of pathway content from WikiPathways.

Usage

1
2
3
4
5
6
downloadPathwayArchive(
  date = "current",
  organism = NULL,
  format = c("gpml", "gmt", "svg"),
  destpath = "./"
)

Arguments

date

(optional) The timestamp for a monthly release (e.g., 20171010) or "current" (default) for latest release.

organism

(optional) A particular species. See listOrganisms.

format

(optional) Either gpml (default), gmt or svg.

destpath

(optional) Destination path for file to be downloaded to. Default is current workding directory.

Details

If you do not specify an organism, then an archive file will not be downloaded. Rather, the archive will be opened in a tab in your default browser.

Value

Filename of downloaded file or an opened tab in default browser

See Also

readPathwayGMT

Examples

1
2
3
4
5
downloadPathwayArchive()  ## open in browser
downloadPathwayArchive(format="gmt")  ## open in browser
downloadPathwayArchive(date="20171010", format="svg")  ## open in browser
downloadPathwayArchive(date="20171010", organism="Mus musculus", format="svg")  ## download file
downloadPathwayArchive(organism="Mus musculus")  ## download file

rWikiPathways documentation built on Feb. 28, 2021, 2:01 a.m.