powered by
Converts a PLINK-formatted fam file to a pedigree object using kinship2::pedigree.
fam2ped(fam)
A tibble with new listcol ped containing pedigrees from kinship2::pedigree.
ped
kinship2::pedigree
A tibble with six columns of PLINK .fam data as read in by read_fam.
famfile <- system.file("extdata", "3gens.fam", package="skater", mustWork=TRUE) fam <- read_fam(famfile) fam2ped(fam)
Run the code above in your browser using DataLab