Description Usage Arguments Value Author(s) See Also
Perform a single fold of a K-fold cross-validation with GS3.
1 2 3 | crossValFold(task.id, rep.id, fold.ids, fold.id, valid.geno.idx.per.fold, dat,
col.id, col.trait, binary.trait, genos, config, ped.file, afs, remove.files,
verbose = 1)
|
task.id |
character containing the task identifier used as prefix for the output files (the fold index will be added) |
rep.id |
identifier of the current replicate |
fold.ids |
vector of fold identifiers |
fold.id |
identifier of the current fold |
valid.geno.idx.per.fold |
vector indicating to which fold a given genotypes belongs (see |
dat |
data frame with phenotypes |
col.id |
column identifier of the records in |
col.trait |
column identifier of the trait in |
binary.trait |
logical indicating if the trait is binary or not |
genos |
matrix of SNP genotypes |
config |
list containing the generic configuration for GS3 |
ped.file |
path to the file containing the pedigree |
afs |
vector of allele frequencies which names are SNP identifiers (column names of |
remove.files |
remove files per fold (none/some/all); use |
verbose |
verbosity level (0/1/2) |
named vector with metrics
Timothee Flutre
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.