Learn R Programming

MoBPS (version 1.13.1)

get.uhat: Export estimated SNP effects

Description

Function to export estimated SNP effects

Usage

get.uhat(population, extend = FALSE, plot = TRUE, trait.plot = 1)

Value

matrix with estimated marker effects

Arguments

population

Population list

extend

Set to TRUE to export u_hat estimates from all breeding values instead of just the last (default: FALSE)

plot

Set to FALSE to not display overview of estimated SNP effects (default: TRUE)

trait.plot

Select trait for which to generate the visualization (default: 1)

Examples

Run this code
data(ex_pop)
population = breeding.diploid(ex_pop, bve.gen = 2:3, genotyped.gen = 2:3,
 bve = TRUE, estimate.u = TRUE)
get.uhat(population)

Run the code above in your browser using DataLab