download_vcf | R Documentation |
Download a remote VCF file and its index file
download_vcf(
vcf_url,
vcf_dir = tempdir(),
download_method = "download.file",
force_new = FALSE,
quiet = TRUE,
nThread = 1
)
vcf_url |
Remote URL to VCF file. |
vcf_dir |
Where to download VCF file. |
download_method |
|
force_new |
Overwrite a previously downloaded VCF with the same path name. |
quiet |
Run quietly. |
nThread |
Number of threads to parallelize over. |
List containing the paths to the downloaded VCF and its index file.
vcf_url <- "https://gwas.mrcieu.ac.uk/files/ieu-a-298/ieu-a-298.vcf.gz"
out_paths <- download_vcf(vcf_url = vcf_url)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.