perform_SEM_model1dis: Run VT-SEM model 1dis

Description Arguments Value Author(s) References Examples

Description

Run VT-SEM model 1eq which assumes there is disequilibrium AM but no latent polygenic genetic score(LGS)

Arguments

dat

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

NTmlabel,Tmlabel,NTplabel,Tplabel,Yolabel

Column names of NTm,Tm,NTp,Tp, 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(disequil_exam)
model1dis=perform_SEM_model1dis(disequil_exam,"NTMO","TMO","NTPO","TPO","Y")
summary(model1dis$AFE.Fit)
model1dis$result_summary

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