gtx.params: Parameter format for multi-SNP analyses

Description Details Author(s) Examples

Description

Format used by functions in the gtx package for parameterisations for multi-SNP analyses. The parameterisation describes the SNPs to be used, choice of coded and noncoded alleles, and potentially allele frequency and effect size information.

Details

params must be a data frame with (at least) columns called “snp”, “coded.allele” and “noncoded.allele”. For some functions, additional columns called “coded.freq” and “coef” are also required.

Suitable parameterisations in the required format are provided for some genetic risk score analyses by cad.scores, t2d.scores etc.

Author(s)

Toby Johnson Toby.x.Johnson@gsk.com

Examples

1
2
3
4
5
6
7
## Not run: 
align.snpdata.coding(params, snpdata)
grs.make.scores(params, snpdata)
grs.onesnp.apply(params, object)
make.moments2(params, phenolist, snpdata)

## End(Not run)

gtx documentation built on May 2, 2019, 5:08 a.m.