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
4
5
6
7
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)

ldblock documentation built on Nov. 8, 2020, 5:33 p.m.