traditional_sib_yank: given a one generation pedigree returns individuals you will...

Description Usage Arguments Value

Description

This does what we did in the NorCal steelhead paper. For any inferred sibship of size strictly greater then Asize, remove all the individuals except for NumLeft of them randomly chosen. The defaults reflect what we have done in the past.

Usage

1
traditional_sib_yank(ped, Asize = 2, NumLeft = 1)

Arguments

ped

A pedigree with colums at least of id, mom, dad. If mom or dad is NA, those rows are removed. (so you can use the result of read_colony_best_config).

Asize

yank individuals out of full sibships that are strictly larger than this

NumLeft

in a sibship of size larger than Asize, NumLeft indivdiuals will be left

Value

Returns a vector of id labels that will be kept


eriqande/afblue documentation built on May 16, 2019, 8:44 a.m.