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
downloadEncode(df = NULL, resultSet = NULL, resultOrigin = NULL, format = "all", dir = ".", force = TRUE)
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
force
Download file is it already exists and md5sums is valid?
Default: TRUE.
Value
The downloaded file names, if download worked correctly.
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.