Description Usage Arguments Details Value Author(s)
Constructs the value of one or more genetic risk scores with specified parameterisation, from individual-level genotype data. Automatically handles coded allele designation.
1 | grs.make.scores(params, snpdata, appendage = ".score")
|
params |
a data frame, see |
snpdata |
a list with snpinfo and data, see |
appendage |
text to add to score name to make new column name in |
This function computes subject-specific values of one or more additive multi-SNP genetic risk scores using a supplied parameterisation and subject-specific genotype and phenotype data. These risk scores are returned as additional columns on the input genotype data frame, making it straightforward to use them as explanatory variables for any of the model fitting functions available in the R language, such as lm, glm, or coxph.
The snpdata list with additional column(s) added to data.
Toby Johnson Toby.x.Johnson@gsk.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.