Description Usage Arguments Value Examples
This function will fetch the clinvar data from the given url and parse the contents of the downloaded file.
1 2 3 | getClinVarData(url = paste0("ftp://ftp.ncbi.nlm.nih.gov/",
"pub/clinvar/tab_delimited/", "variant_summary.txt.gz"),
overwrite = FALSE)
|
url |
The url to the ftp location of the clinvar dataset (tab delimited variant summary file) (e.g. ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/tab_delimited/variant_summary.txt.gz) |
overwrite |
default: FALSE, boolean value to decide if a fresh download should overwrite the existing file |
Path to the downloaded file
1 2 3 4 5 6 7 | ## Not run:
#download
filePath <- getClinVarData()
#read first 100 lines
cv_head <- data.table::fread(text = readLines(filePath, n = 100))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.