View source: R/get_sub_SNP_LOC_DATA.R
get_sub_SNP_LOC_DATA | R Documentation |
Download and decompress the genome reference needed to run map_snps_to_genes, If the file already exists, it will simply return the path.
get_sub_SNP_LOC_DATA(
storage_dir = tools::R_user_dir(package = "MAGMA.Celltyping", which = "cache")
)
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.