downloadEncode: Download files from the Internet.

Description Usage Arguments Details Value Examples

Description

After processing to a basic search with the searchEncode function or a precise search thanks to the queryEncode function, you can proceed to the downloading of all the corresponding files.

Usage

1
2
downloadEncode(df = NULL, resultSet = NULL, resultOrigin = NULL,
  format = "all", dir = ".")

Arguments

df

list of two data.frame containing ENCODE experiment and dataset metadata.

resultSet

the results set.

resultOrigin

name of the function used to generate the result set (searchEncode or queryEncode)

format

file format, default = all

dir

the name of the directory where the downloaded file will be saved. Default = current directory

Details

This function can be used to download a set of files by providing the results set, its origin (searchEncode or queryEncode), the file format and finally the destination directory.

Value

void

Examples

1
2
3
4
5
resultSet <- queryEncode(biosample = "A549", file_format = "bam")
  ## Not run: 
  downloadEncode(resultSet = resultSet, dir = ".")
  
## End(Not run)

CharlesJB/ENCODExplorer-release documentation built on May 6, 2019, 9:57 a.m.