read_fam: Read a PLINK family (*.fam) file

View source: R/io.R

read_famR Documentation

Read a PLINK family (*.fam) file

Description

Read a PLINK family (*.fam) file

Usage

read_fam(ff, ...)

Arguments

ff

path to a *.fam file

Details

A *.fam file should have columns family ID, individual ID, mom ID, dad ID, sex, phenotype. PLINK uses special value -9 to denote missing phenotype, for some reason, while 0=missing for mom and dad ID.

Value

dataframe of sample info


andrewparkermorgan/popcorn documentation built on July 8, 2023, 12:42 p.m.