dep_path: Dependency data paths

View source: R/download_dependencies.r

dep_pathR Documentation

Dependency data paths

Description

Checks package-specific paths for where the dependency-data is usually stored. Dependency data is mostly data on LD regions, but other required stats too, and are usually population- (e.g. eas, afr, eur, etc.) and package- (LDSC, MAGMA & SNPsea) specific.

Usage

dep_path(
  pop = c("eur", "afr", "amr", "eas", "sas")[1],
  for_which = c("all", "magma", "snpsea", "ldsc")[1]
)

Arguments

pop

Reference population shortcode (available right now: eur; Soon to be added: afr, amr, eas, eur, sas).

for_which

Which softwares to check (available right now: all, magma, snpsea or ldsc).

Value

Named list (of paths)


alexandruioanvoda/gwascelltyper documentation built on April 16, 2023, 8:03 p.m.