The three largest objects (filtered_txi, dds and
zscore_mat) are not installed with the package, to keep it
small. They are stored as files of the GitHub release of the package, and
this function downloads them the first time they are used. Later calls read
the copy saved on your computer, so no internet connection is needed.
Usage
download_data(name = c("filtered_txi", "dds", "zscore_mat"), tag = "v0.1.0")Details
Files are saved in tools::R_user_dir("GeneExprLupusMx",
"cache"). Delete that folder to free space or to download them again.
The first download needs about 46 MB in total.
Note
Several other packages (e.g., FedData, admixr and
tidyfinance) also have a function called download_data(). If
you load one of them together with GeneExprLupusMx, the one loaded last is
used. To make sure you use this one, call it as
GeneExprLupusMx::download_data().
Examples
if (FALSE) { # interactive()
filtered_txi <- download_data("filtered_txi")
dim(filtered_txi$counts)
}