View source: R/genomic_prediction.R
genomic_prediction | R Documentation |
The function applies genomic selection for the supplied prediction genotype using rrBLUP by supplied a training population ,haplotype and genotype.
genomic_prediction(train_geno,train_pheno,predict_geno_pop,method)
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 |
a two-column tab delimited phenotyping object; id and value
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.