PRSPGx.example {PRSPGx}R Documentation

Simulated example data

Description

Simulated example data required by PRS-DIS and PRS-PGx functions.

Usage

data(PRSPGx.example)

Format

A list with 8 sublists:

PGx_GWAS

PGx GWAS including SNP ID, MAF, position, \beta, \alpha, 2-df p-value, and N; SD(Y), and mean(T)

DIS_GWAS

disease GWAS including SNP ID, MAF, position, \beta, SE(\beta), p-value, and N

G_reference

simulated individual-level genotype from the reference panel matched with the simulated sample PGx genotype

Y

simulated phenotype (continuous)

T

simulated treatment assignment, 1 = treatment, 0 = placebo

G

simulated sample PGx genotype with 100 SNPs and 4000 subjects

beta

simulated prognostic effect sizes (i.e., the underlying true prognostic effect sizes)

alpha

simulated predictive effect sizes (i.e., the underlying true predictive effect sizes)


[Package PRSPGx version 0.3.0 Index]