prideDownload: The details of projects returned by searching

Description Usage Arguments Value Examples

View source: R/prideDownload.R

Description

The details of projects returned by searching

Usage

1
2
3
prideDownload(prideLinks, fileMaxSize = 10, fileType = "SEARCH",
  fileExtensionInclude = NULL, fileExtensionExclude = NULL,
  path = getwd())

Arguments

prideLinks

data.frame, the result from fileListProject or fileListAssay function.

fileMaxSize

numeric, maximumal total file size.

fileType

character, "RESULT", "PEAK", "SEARCH", "RAW", "OTHER". The default is "SEARCH".

fileExtensionInclude

character, the files with these extensions are included to be downloaded. For example: "csv", "xlsx", "xls", "7z", etc.

fileExtensionExclude

character, the files with these extensions are excluded. For example: "raw", "fasta", "gz", "xml", etc.

path

character, the path to save downloaded files.

Value

data.frame, information of downloaded files.

Examples

1
2
3
4
5
6
7
8
9
{
## Not run: 
# Search for one accession
fileInfo = fileListProject(c("PXD000001", "PXD000002"))
prideDownload(prideLinks = fileInfo,
              fileMaxSize = 10,

## End(Not run)
}

paodan/prideDownloader documentation built on May 6, 2019, 11:44 a.m.