| downloadPopByChr {ldblock} | R Documentation |
download hapmap resource with LD estimates
downloadPopByChr(
chrname = "chr1",
popname = "CEU",
urlTemplate = "http://hapmap.ncbi.nlm.nih.gov/downloads/ld_data/2009-02_phaseIII_r2/ld_%%CHRN%%_%%POPN%%.txt.gz",
targfolder = Sys.getenv("LDBLOCK_TXTGZ_DIR")
)
chrname |
UCSC format tag for chromosome |
popname |
hapmap three letter code for population, e.g. 'CEU' |
urlTemplate |
pattern for creating URL given chr and pop |
targfolder |
destination |
delivers HapMap LD data to 'targfolder'
just run for side effect of download.file
## Not run: downloadPopByChr() ## End(Not run)