powered by
Map GWAS studies identifiers to PGS identifiers.
study_to_pgs(study_id, verbose = FALSE, warnings = TRUE, progress_bar = TRUE)
A data frame of two columns: study_id and pgs_id.
study_id
pgs_id
A character vector of GWAS Catalog study accession identifiers, e.g., "GCST001937".
A logical indicating whether the function should be verbose about the different queries or not.
logical
A logical indicating whether to print warnings, if any.
Whether to show a progress bar as the queries are performed.
if (FALSE) { study_to_pgs('GCST001937') study_to_pgs(c('GCST000998', 'GCST000338')) }
Run the code above in your browser using DataLab