getPartitionGenos: Partition genotypes for cross-validation

Description Usage Arguments Value Author(s) See Also

Description

Return a vector which content corresponds to fold indices and names to genotypes. The fold index of a given genotype indicates that, for this fold, the genotype won't be used for training but for validation.

Usage

1
getPartitionGenos(geno.names, nb.folds = 10, seed = NULL)

Arguments

geno.names

vector of genotype names

nb.folds

number of folds

seed

if not NULL, this seed for the pseudo-random number generator will be used to shuffle genotypes before partitioning per fold

Value

vector

Author(s)

Timothee Flutre

See Also

crossValWithGs3


INRA/rgs3 documentation built on May 20, 2019, 5:24 p.m.