CalcRegParam {AllelicSeries} | R Documentation |
Calculate phenotypic regression coefficients and the residual variation based on proportion of variation explained (PVE) by each factor. Note that the proportion of variation explained by genotype is required, but genetic effects are not generated here.
CalcRegParam(pve_age = 0.1, pve_pcs = 0.2, pve_sex = 0.1)
pve_age |
PVE by age. |
pve_pcs |
PVE by PCs (collectively). |
pve_sex |
PVE by sex. |
List containing the (5 x 1) regression coefficient vector "coef" and the residual standard deviation "sd".