Import 47 GWAS (from UK Biobank) mapped to genes using the cS2G strategy.

get_cs2g_ukb(
  URL = file.path("https://storage.googleapis.com", "broad-alkesgroup-public/cS2G",
    "finemapping_cS2G_UKBB", "finemapping_cS2G_UKBB_PIP05.annot"),
  as_matrix = TRUE,
  value.var = c("cS2G", "PIP"),
  nThread = 1,
  verbose = TRUE
)

Arguments

URL

URL to cS2G dataset.

as_matrix

Convert the data to a sparse matrix.

nThread

Number of threads to use when reading in data.

verbose

Print messages.

Value

Named with two items: "data" and "metadata"

References

Gazal et al. 2021 preprint

Broad Institute server