read_fam {skater}R Documentation

Read PLINK-formatted .fam file

Description

Reads in a PLINK-formatted .fam file. Input file must have six columns:

  1. Family ID

  2. Individual ID

  3. Father ID

  4. Mother ID

  5. Sex

  6. Affected Status

Usage

read_fam(file)

Arguments

file

Input file path

Value

A tibble containing the 6 columns from the fam file.

Examples

famfile <- system.file("extdata", "3gens.fam", package="skater", mustWork=TRUE)
fam <- read_fam(famfile)
fam


[Package skater version 0.1.2 Index]