downloadEncode: downloadEncode is used to download a serie of files or...

Description Usage Arguments Value Examples

Description

downloadEncode is used to download a serie of files or datasets using their accession.

Usage

1
2
3
4
5
6
7
downloadEncode(
  file_acc = NULL,
  df = get_encode_df(),
  format = "all",
  dir = ".",
  force = TRUE
)

Arguments

file_acc

A character of ENCODE file or experiment accessions. Can also be a data.table coming from any ENCODExplorer search function.

df

The reference data.table used to find the download. Files that are not available will be searched directly through the current ENCODE database.

format

The specific file format to download. Default : all

dir

The directory to locate the downloaded files

force

boolean to allow downloading a file even if it already exists in the directory. Default : TRUE

Value

A character with the downloaded files

Examples

1
2
 fuzzy_result <- fuzzySearch("ENCSR396EAG", get_encode_df_demo(), filterVector = "accession")
 ## Not run: downloadEncode(fuzzy_result, format="tsv")

ENCODExplorer documentation built on Nov. 8, 2020, 5:11 p.m.