ERM_genera: the function to generate the Environment Relationship Matrix

Description Usage Arguments Value References Examples

View source: R/ERM_genera.R

Description

generate the environment relationship matrix from three aspects: family, couple, fullsilbings.

Usage

1

Arguments

text

the fam file to input, can get from the fam_genera()

Value

matrix_family the ERM of family, for the file with ".grm.gz"

matrix_family_id the file with ".grm.id

matrix_couple the ERM of couple, for the file with ".grm.gz"

matrix_couple_id the file with ".grm.id

matrix_fullsilb the ERM of fullsilbing, for the file with ".grm.gz"

matrix_fullsilb the file with ".grm.id

References

Yang J, Lee SH, Goddard ME, Visscher PM (2011) GCTA: a tool for genome-wide complex trait analy- sis. Am J Hum Genet 88: 76–82. doi: 10.1016/j.ajhg.2010.11.011 PMID: 21167468

Xia, C. et al. Pedigree- and SNP-associated genetics and recent environment are the major contributors to anthropometric and cardiometabolic trait variation. PLoS. Genet. 12, e1005804 (2016).

Examples

1
2
3
4
5
## Not run: 
text=fam_genera(100)
l=ERM_genera(text)

## End(Not run)

hudie-lab/SC19036 documentation built on Jan. 2, 2020, 8:45 p.m.