fam2ped | R Documentation |
Converts a PLINK-formatted fam file to a pedigree object using kinship2::pedigree.
fam2ped(fam)
fam |
A tibble with six columns of PLINK .fam data as read in by read_fam. |
A tibble with new listcol ped
containing pedigrees from kinship2::pedigree
.
famfile <- system.file("extdata", "3gens.fam", package="skater", mustWork=TRUE) fam <- read_fam(famfile) fam2ped(fam)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.