PolyGenius
Contents

generate$sources$gwascatalog

GWAS Catalog source

Declares one or more GWAS Catalog studies as GWAS sources for generate$models(). Nothing is fetched here; the summary statistics are downloaded during execution.

Usage

generate$sources$gwascatalog(ids)

Arguments

ArgumentDescription
idsCharacter vector of GWAS Catalog study accessions, for example "GCST90027158". Each id becomes one gwas.sumstats resource; an empty vector aborts.

Value

A ResourceSpecSet of unresolved gwas.sumstats specifications, one per id, for generate$models(sources = ).

Examples

sources <- generate$sources$gwascatalog("GCST90027158")

See Also

Aliases: generate-gwascatalog, generate.sources.gwascatalog, generate$sources$gwascatalog