Learn R Programming

paxtoolsr (version 1.6.3)

downloadPc2: Download Pathway Commons files (uses menu and cache)

Description

Download Pathway Commons files (uses menu and cache)

Usage

downloadPc2(selectedFileName = NULL, destDir = NULL, returnNames = NULL,
  version = "current", verbose = FALSE)

Arguments

selectedFileName
a string, a name of a file to skip the the interactive selection
destDir
a string, the destination directory for the file to be downloaded (Default: NULL). If NULL, then file will be downloaded to cache directory file.path(Sys.getenv("HOME"), ".paxtoolsRCache")
returnNames
return a vector of names matching the given regular expression
version
a version number for a previous version of Pathway Commons data; versions 3 and above
verbose
a flag to display debugging information (Default: FALSE)

Value

  • an R object using one of the read* methods provided in this package corresponding to the file downloaded

concept

paxtoolsr

Examples

Run this code
downloadPc2()
  downloadPc2(returnNames="ext.*sif")
  downloadPc2("PathwayCommons.8.inoh.GSEA.hgnc.gmt.gz", verbose=TRUE)

Run the code above in your browser using DataLab