get_sub_SNP_LOC_DATA: Download genome ref: piggyback

View source: R/get_sub_SNP_LOC_DATA.R

get_sub_SNP_LOC_DATAR Documentation

Download genome ref: piggyback

Description

Download and decompress the genome reference needed to run map_snps_to_genes, If the file already exists, it will simply return the path.

Usage

get_sub_SNP_LOC_DATA(
  storage_dir = tools::R_user_dir(package = "MAGMA.Celltyping", which = "cache")
)

Source

URL <- paste( "https://github.com/neurogenomics/MAGMA_Celltyping/raw/master/", "data/sub_SNP_LOC_DATA.rda", sep="/") tmp <- file.path(tempdir(),basename(URL)) piggyback::pb_upload(file = tmp, repo = "neurogenomics/MAGMA_Celltyping", overwrite = TRUE)


NathanSkene/MAGMA_Celltyping documentation built on Oct. 11, 2024, 7:19 a.m.