fam2ped {skater}R Documentation

Fam to pedigree

Description

Converts a PLINK-formatted fam file to a pedigree object using kinship2::pedigree.

Usage

fam2ped(fam)

Arguments

fam

A tibble with six columns of PLINK .fam data as read in by read_fam.

Value

A tibble with new listcol ped containing pedigrees from kinship2::pedigree.

Examples

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


[Package skater version 0.1.2 Index]