View source: R/01_download_data.R
| download_from_ena | R Documentation | 
Download FASTQ files from ENA's FTP
download_from_ena(
  sample_info = NULL,
  urls = NULL,
  fastqdir = "results/01_FASTQ_files",
  method = "auto",
  link_from = "api"
)
sample_info | 
 Data frame of sample metadata created with the
function   | 
urls | 
 Character vector returned by   | 
fastqdir | 
 Path to the directory where .fastq files will be stored. Default: results/01_FASTQ_files.  | 
method | 
 Method to be used for downloading files. One of "internal", "libcurl", "wget", "libcurl", "curl", "wininet" (Windows only), or "auto".  | 
link_from | 
 Method to extract the URL to each FASTQ file in the ENA's ftp repository. One of 'api' or 'iterative'. Default: 'api'.  | 
A data frame as returned by fastq_exists.
data(sample_info)
fastqdir <- tempdir()
download_from_ena(sample_info, fastqdir = fastqdir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.