dot-retrievePGS: Internal function: Get PGS catalog table of polygenic risks

.retrievePGSR Documentation

Internal function: Get PGS catalog table of polygenic risks

Description

Internal function: Get PGS catalog table of polygenic risks

Usage

.retrievePGS(pgs_id)

Arguments

pgs_id

character ID of the PGS catalog to be used to calculate the polygenic risk score. Polygenic Score ID & Name from https://www.pgscatalog.org/browse/scores/

Value

data.frame with the columns:
- If chr_name and poition are found:
+ start
+ end
+ effect_allele
+ effect_weight
+ weight_type (if present on the catalog)
- If rsID is found:
+ rsID
+ effect_allele
+ effect_weight
+ weight_type (if present on the catalog)


isglobal-brge/dsOmics documentation built on Nov. 6, 2024, 1:28 a.m.