downloadPc2 {paxtoolsr}R Documentation

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

Examples

## Not run: 
  downloadPc2()
  downloadPc2(returnNames="ext.*sif")
  downloadPc2("PathwayCommons.8.inoh.GSEA.hgnc.gmt.gz", verbose=TRUE)

## End(Not run)
  

[Package paxtoolsr version 1.14.0 Index]