perform_SEM_model2eq: Run VT-SEM model 2eq

Description Arguments Value Author(s) References Examples

Description

Run VT-SEM model 2eq which assumes there is sequilibrium AM and latent polygenic genetic score(LGS)

Arguments

dat

Data frame which includes offsprings' phenotype value (Yo), parental phenotype values (Ym,Yp), haplotypic transmitted PGS from parents (Tm,Tp), and haplotypic non-transmitted PGS of parents (NTm,NTp)

dat,NTmlabel,Tmlabel,NTplabel,Tplabel,Ymlabel,Yplabel,Yolabel

Column names of NTm,Tm,NTp,Tp,Ym,Yp, and Yo.

max.cores

Assign the number of cores to run OpenMx.

Value

AFE.Fit

OpenMx objective which includes fitted results

result_summary

Summaries of fitted values of model 0

Author(s)

Yongkang Kim yongkangkim87@gmail.com, Jared Balbona, and Matthew C Keller

References

Kong, Augustine, et al. "The nature of nurture: Effects of parental genotypes." Science 359.6374 (2018): 424-428.

Examples

1
2
3
4
data(equil_exam)
model2eq=perform_SEM_model2eq(equil_exam,"NTMO","TMO","NTPO","TPO","YM","YP","Y")
summary(model2eq$AFE.Fit)
model2eq$result_summary

yoki5348/VT_SEM documentation built on July 24, 2021, 5:10 p.m.