downloadBedFile: Loads file from URL to tmp

View source: R/download_bed_file.R

downloadBedFileR Documentation

Loads file from URL to tmp

Description

Function loads bed-files from URL to the given directory.

Usage

downloadBedFile(targetDir = "", version = "2018", species = "Homo sapiens",
 assembly = "hg38", type = "Test peaks", force = FALSE)

Arguments

targetDir

The name of the directory to download the file in, by default "~/tmp".

version

Version of ReMap.

species

Name of specie.

assembly

Number of assembly.

type

Type of data.

force

It can be FALSE or TRUE. If FALSE (default), then no file is overwrited and the user is given confirmation message.

Value

The path to the downloaded file.

Author(s)

Alexey Solovyev

Examples

downloadBedFile(targetDir = "", version = "2018", species = "Homo sapiens",
assembly = "hg38", type = "Test peaks", force = FALSE)


LosevAMU/remapR documentation built on Sept. 25, 2024, 12:32 p.m.