downloadFile: Download and decompress reference files

Description Usage Arguments Value Examples

View source: R/fct_referenceDownload.R

Description

Download and decompress reference files

Usage

1
downloadFile(url, out_dir)

Arguments

url

Character with donwload URL

out_dir

Character vector stating the full path to the output directory

Value

Downloaded and unzipped file name

Examples

1
2
3
4
5
6
7
8
9
#ah <- AnnotationHub()
#organism <- "Homo_sapiens"
#build <- "GRCh38"
#release <- 100
#qry <- subset(ah, species == "Homo sapiens", rdataprovider == "Ensembl")
#meta <- mcols(qry)
#urls <- getDownloadLinks(meta, organism, build, release)
## Not run
#file1 <- downloadFile(url = urls[1], out_dir = "/tmp/file1"

KasperThystrup/EncircleR documentation built on March 21, 2021, 10:13 p.m.