View source: R/get_genome_ref.R
get_genome_ref | 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_genome_ref(
genome_ref_path = NULL,
storage_dir = tools::R_user_dir("MAGMA.Celltyping", which = "cache"),
method = c("magma"),
population = c("eur", "afr", "amr", "eas", "sas"),
timeout = 60 * 5,
verbose = TRUE
)
genome_ref_path |
If not |
storage_dir |
Where to store genome ref. |
method |
Get reference genome data from the MAGMA server (slow). |
population |
Which population subset of the genome reference to include.
|
timeout |
Number seconds to wait before ending the download (Default: 5 minutes). |
verbose |
Print messages. |
Directory where the genome reference data is stored.
## Not run:
genome_ref_path <- get_genome_ref()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.