Skip to contents

Downloads the prediction archive from its Zenodo record (about 350 MB for ML-GPS and 150 MB for RareGPS), stops if its MD5 checksum differs from the published one, and keeps gene, phecode, score, the training label (indication and maximum phase) and the percentile of the score in a cached RDS file. Later calls reuse the cache.

Usage

validity_fetch(source = c("mlgps", "raregps"),
           dir = tools::R_user_dir("geneticValidity", "cache"), quiet = FALSE)

Arguments

source

"mlgps" or "raregps".

dir

Cache directory.

quiet

Suppress download messages.

Value

The path of the cached RDS file.

Examples

if (FALSE) { # \dontrun{
validity_fetch("raregps")
} # }