downloadData: downloadData

Description Usage Arguments Value Author(s)

View source: R/downloadData.R

Description

Downloads a dataset. The function tries to save the dataset as an .rds file in the package data folder to avoid having to download it every time it is requested. If that folder is not writable for some reason, it will use the temp folder, which is cleared when you exit R, meaning it will have to be be downloaded again. In such cases, we recommend that you save the object separately. This function uses Seurat.

Usage

1
downloadData(url, filenameBase, locDir = tempdir(check = TRUE))

Arguments

url

The URL to download

filenameBase

The dataset name to use as filename

locDir

The directory in which the data can be stored on your disk

Value

the template

Author(s)

Johan Gustafsson, <gustajo@chalmers.se>


SysBioChalmers/DSAVE-R documentation built on Oct. 19, 2021, 11:37 p.m.