Description Usage Arguments Details Value
The function loads the univariate regression beta coefficients into the workspace.
1 |
trait_name |
a character for the name of the quantitative trait, assuming the file is named as |
file_name |
a character to specify the full directory of the univariate regression coefficient file instead of |
The univariate regression coefficients are assumed to be computed univariately using:
coef(summary(lm(pheno_data ~ geno[,j])))[2,1]
.
Both genotype data and phenotype data over individuals need to be standardized with
mean = 0 and variance = 1. The data file should have two columns indicating chromosome number
and the regression coefficients without headers.
a data matrix of univariate regression coefficients.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.