fam_genera: the function generate fam file for families

Description Usage Arguments Details Value Examples

View source: R/fam_genera.R

Description

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

Usage

1

Arguments

n

the number of families, this is an integer.

Details

This function is to generate the .fam file for PLINK use only after adding the information of genotypes and phenotypes. And here it sets the structures of the families already. For each family, there are two parents, and two siblings.

Value

the fam file, it is a data.frame output.

Examples

1
2
3
4
## Not run: 
fam_genera(100)

## End(Not run)

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