retrieveFile {GenomicDistributions} | R Documentation |
Read local or remote file
retrieveFile(source, destDir = NULL)
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. |
data.frame retrieved file path
CElegansGtfUrl = "http://ftp.ensembl.org/pub/release-103/gtf/caenorhabditis_elegans/Caenorhabditis_elegans.WBcel235.103.gtf.gz" CElegansGtf = retrieveFile(CElegansGtfUrl)