fam_relation: the function generate fam relationship file for families

Description Usage Arguments Details Value Examples

Description

the function to generate the fam relationship file of families containing two parents and two children.

Usage

1

Arguments

fam

the family file, it is a data.frame here.

Details

Here, the fam relationship is created by the fam file from fam_genera(). And the relationship would be "couple","parentOffspring" or "fullSib".

Value

the fam_relationship, this is a data.frame output.

Examples

1
2
3
4
5
## Not run: 
fam <- fam_genera(100)
fam_relation(fam)

## End(Not run)

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