knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.width = 7, fig.height = 5, fig.align = "center" ) options(tibble.print_min = 4, tibble.print_max = 4) library(quincunx)
The function get_releases()
gets you information about PGS Catalog releases; namely, the number of newly released polygenic scores, publications and performance metrics, as well as their respective associated identifiers (i.e., new pgs_ids
, pgp_ids
and ppm_ids
).
To get information about the latest release, run get_releases()
with default argument values:
get_releases() # Or get_releases(date = 'latest')
You can use the argument date
to select a specific date (if a release exists for this day) in the format "YYYY-MM-DD"
, e.g., "2020-11-20"
:
get_releases(date = '2020-11-20')
(all_releases <- get_releases(date = 'all'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.