Downloads the filtered DepMap RDS file for training models from GitHub Release. The file contains bulk expression, scRNA expression, drug response annotations, and cell line metadata required for PERCEPTIONx model training. Supports automatic mirror fallback for users in different regions.
Usage
load_depmap(
dest = ".",
read = FALSE,
mirror = FALSE,
mirror_url = NULL,
timeout_seconds = 300,
retries = 1
)Arguments
- dest
Directory to save the downloaded file. Default = ".".
- read
Whether to read the data and assign to global environment as "DepMap". Default = FALSE.
- mirror
Logical. If FALSE (default), download from GitHub directly. If TRUE, use mirror sites from
get_mirrors().- mirror_url
Character. A specific mirror URL to use (e.g.,
"https://gh-proxy.com/https://github.com"). Overridesmirror.- timeout_seconds
Numeric, timeout for each download attempt in seconds. Default = 300.
- retries
Integer, number of retries for each mirror. Default = 1.
