retrieveFile {GenomicDistributions}R Documentation

Read local or remote file

Description

Read local or remote file

Usage

retrieveFile(source, destDir = NULL)

Arguments

source

a string that is either a path to a local or remote GTF

destDir

a string that indicates the path to the directory where the downloaded GTF file should be stored. If not provided, a temporary directory will be used.

Value

data.frame retrieved file path

Examples

CElegansGtfUrl = "http://ftp.ensembl.org/pub/release-103/gtf/caenorhabditis_elegans/Caenorhabditis_elegans.WBcel235.103.gtf.gz"
CElegansGtf = retrieveFile(CElegansGtfUrl)

[Package GenomicDistributions version 1.2.0 Index]