makeParentFolds: Make parent-wise cross-validation folds

makeParentFoldsR Documentation

Make parent-wise cross-validation folds

Description

Create parent-wise cross-validation folds based on an input pedigree.

Usage

makeParentFolds(ped, gid, nrepeats = 5, nfolds = 5, seed = NULL)

Arguments

ped

data.frame, 3 columns, "GID" (or gid), "sireID", "damID" for male and female parent, respectively.

gid

string variable name used for genotype ID's in e.g. blups (default="GID")

nrepeats

number of repeats

nfolds

number of folds,

seed

integer, make reproducible


wolfemd/genomicMateSelectR documentation built on July 1, 2022, 10:42 p.m.