pgs_to_study | R Documentation |
Map PGS identifiers to GWAS study identifiers. Retrieves GWAS study identifiers associated with samples used in the discovery stage of queried PGS identifiers.
pgs_to_study( pgs_id = NULL, verbose = FALSE, warnings = TRUE, progress_bar = TRUE )
pgs_id |
A character vector of PGS Catalog score accession identifiers.,
e.g., "PGS000001". If |
verbose |
A |
warnings |
A |
progress_bar |
Whether to show a progress bar as the queries are performed. |
A data frame of two columns: pgs_id
and study_id
.
## Not run: pgs_to_study('PGS000001') # Unmappable pgs ids will be missing, e.g., PGS000023 pgs_to_study(c('PGS000013', 'PGS000023')) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.