Returns a boolean vector indicating what individuals are suitable for purging analyses, given a measure of fitness. Individuals with NA values of fitness, and that do not have descendants with non-NA fitness values, are excluded.
ancestors(ped, reference, rp_idx, nboot = 10000L, seed = NULL, skip_Ng = FALSE)
Boolean vector indicating what individuals will be evaluated.
A dataframe containing the pedigree. Individual (id), maternal (dam), and paternal (sire) identities are mandatory columns.
A string naming a column indicating whether individuals belong to the reference population or not. Column must be boolean or coercible to boolean type.
Vector containing the indexes of individuals of the RP
Number of bootstrap iterations (for computing Ng).
Sets a seed for the random number generator.
Skip Ng computation or not (FALSE by default).