gwascat.download | R Documentation |
gwascat.download
takes a PMID from the user and downloads the associated summary statistics datasets published in GWAS catalogThis function, takes PUBMED ids as an input, searches at the GWAS catalog for harmonised datasets associated to that, interactively asking the user to choose if there are more than one, and fetches the dataset.
gwascat.download(ID, harmonised = TRUE)
ID |
a numeric. A PubMed ID (PMID) reference number from a GWAS paper. |
harmonised |
a logical. Should GWAS catalog harmonised files be pursued? If not available, the function will fall back to non-harmonised |
If multiple files are available for the same study, R will prompt an interactive dialogue to select a specific file, by number.
a character vector containing the url(s) to the dataset(s).
Guillermo Reales
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.