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 )
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. |
Named with two items: "data" and "metadata"