get_genome_ref_piggyback: Download genome ref: piggyback

View source: R/get_genome_ref_piggyback.R

get_genome_ref_piggybackR 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_genome_ref_piggyback(genome_ref_dir, verbose = TRUE, ...)

Arguments

genome_ref_dir

Folder to download reference to.

verbose

Print messages.

...

Arguments passed on to get_data

repo

Repository name in format "owner/repo". Defaults to guess_repo().

tag

tag for the GitHub release to which this data should be attached.

overwrite

Should any local files of the same name be overwritten? default TRUE.

.token

GitHub authentication token, see ⁠[gh::gh_token()]⁠

Source

genome_ref_path <- get_genome_ref(method = "magma") piggyback::pb_upload(file = genome_ref_path, repo = "neurogenomics/MAGMA_Celltyping", overwrite = TRUE)


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