Import 5,981 GWAS (from GWAS Catalog) mapped to genes using the cS2G strategy.

get_cs2g_gwascatalog(
  URL = file.path("https://storage.googleapis.com", "broad-alkesgroup-public/cS2G",
    "gwas_catalog_cS2G", "gwas_catalog_v1.0-associations_e100_r2021-02-25.annot"),
  as_matrix = TRUE,
  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