downloadPopByChr {ldblock} | R Documentation

## download hapmap resource with LD estimates

### Description

download hapmap resource with LD estimates

### Usage

    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"))

### Arguments

`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

### Details

delivers HapMap LD data to 'targfolder'

### Value

just run for side effect of download.file

### Examples

    ## Not run:
     downloadPopByChr()

    ## End(Not run)

[Package ldblock version 1.17.1 Index]