Learn R Programming

skater (version 0.1.2)

read_fam: 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)

Value

A tibble containing the 6 columns from the fam file.

Arguments

file

Input file path

Examples

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

Run the code above in your browser using DataLab