CollapsABEL (version 0.10.11)

makePhe: Generate phenotype file from a fam file

Description

Generate phenotype file from a fam file

Usage

makePhe(famfile, n_components)

Arguments

famfile
Character. Path of fam file.
n_components
Integer. Number of principle components to generate.

Value

Phenotype data.frame. The data frame contains the FID, IID, SEX, AFFECTEDNESS columns of the fam file, plus principle components of genetic information.