downloadPopByChr: download hapmap resource with LD estimates

Description Usage Arguments Details Value Examples

View source: R/hmld.R

Description

download hapmap resource with LD estimates

Usage

1
2
3
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

1
2
3
4
## Not run: 
 downloadPopByChr()
 
## End(Not run)

vjcitn/ldblock documentation built on Aug. 21, 2019, 8:50 p.m.