splitGenomesTrainTest: Genomes

View source: R/quantgen.R

splitGenomesTrainTestR Documentation

Genomes

Description

From a set of genomes simulated together, split them into a training (for estimation) and testing (for prediction) sets.

Usage

splitGenomesTrainTest(genomes, nb.inds.pred)

Arguments

genomes

list, e.g. returned by simulCoalescent

nb.inds.pred

number of genotypes for whom prediction will be performed

Value

list composed of two lists, genomes and genomes.pred

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.