founderIDs: Extract a vector of founder individuals from a pedigree

Description Usage Arguments

Description

This function extracts a vector of founder IDs from a pedigree object. A founder is an individual that does not have parents within the pedigree.

Usage

1
founderIDs(pedigree, pedigree.type = "simple")

Arguments

pedigree.type

Defaults to "simple", can also accept "plink" which is equivalent for for first 5 to 6 columns of a PLINK .ped file.

ped

Pedigree object in "simple" format (Three columns for ANIMAL, MOTHER and FATHER) or in "plink" format (Five to Six columns for FAMILY, ANIMAL, FATHER, MOTHER, SEX and Phenotype, where the phenotype column is optional). The simple argument can recognise the order of parents if they are named sensibly. Run simple.ped.name.rules() for an example.


susjoh/simperSNP documentation built on May 30, 2019, 8:43 p.m.