Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

AlphaSimR (version 0.8.2)

gv: Genetic value

Description

A wrapper for accessing the gv slot

Usage

gv(pop)

Arguments

pop

a Pop-class or similar object

Examples

Run this code
# NOT RUN {
#Create founder haplotypes
founderPop = quickHaplo(nInd=10, nChr=1, segSites=10)

#Set simulation parameters
SP = SimParam$new(founderPop)
SP$addTraitAD(10, meanDD=0.5)
SP$setVarE(h2=0.5)

#Create population
pop = newPop(founderPop, simParam=SP)
gv(pop)

# }

Run the code above in your browser using DataLab