sesameAnno_download: Download SeSAMe annotation files

View source: R/sesameAnno.R

sesameAnno_downloadR Documentation

Download SeSAMe annotation files

Description

see also http://zwdzwd.github.io/InfiniumAnnotation

Usage

sesameAnno_download(
  url,
  destfile = tempfile(basename(url)),
  base = "https://github.com/zhou-lab/InfiniumAnnotationV1/raw/main/"
)

Arguments

url

url or title of the annotation file

destfile

download to this file, a temp file if unspecified

base

base url, usually fixed.

Details

This function acts similarly as sesameAnno_get except that it directly download files without invoking BiocFileCache. This is needed in some situation because BiocFileCache may change the file name and downstream program may depend on the correct file names. It also lets you download files in a cleaner way without routing through BiocFileCache

Value

the path to downloaded file

Examples


## avoid testing as this function uses external host
if (FALSE) {
sesameAnno_download("Test/3999492009_R01C01_Grn.idat")
sesameAnno_download("EPIC.hg38.manifest.tsv.gz")
sesameAnno_download("EPIC.hg38.snp.tsv.gz")
}


zwdzwd/sesame documentation built on April 28, 2024, 12:48 p.m.