genomic_prediction: genomic_prediction

View source: R/genomic_prediction.R

genomic_predictionR Documentation

genomic_prediction

Description

The function applies genomic selection for the supplied prediction genotype using rrBLUP by supplied a training population ,haplotype and genotype.

Usage

genomic_prediction(train_geno,train_pheno,predict_geno_pop,method)

Arguments

train_geno

Required: a training genotype object

train_pheno

Required: a training phenotype object

predict_geno_pop

Required: a testing genotype object for rrBLUP or a testing population for parental_contribution method

method

Optional: a method of genomic prediction, rrBLUP or parental_contribution, the default is rrBLUP

Value

a two-column tab delimited phenotyping object; id and value

Examples

train_geno = get_genotypes(parental_genotypes,pop2) 
train_pheno = pheno_rand(haplo_genotypes,qtn,h2,biased_selection,gen2phy,dominant)
predict_geno = get_genotypes(parental_genotypes,pop3)
phen1 = genomic_prediction(train_geno,train_pheno,predict_geno)

USDA-ARS-GBRU/crossword documentation built on Oct. 11, 2024, 12:51 a.m.