rcpp_g2p_map: Phenotype function from C++

View source: R/RcppExports.R

rcpp_g2p_mapR Documentation

Phenotype function from C++

Description

A function for the computation of additive phenotypes

Usage

rcpp_g2p_map(G, dims, bvs, add_loci, sex_ratio, e_v)

Arguments

G

An object of class "struct" with the genetic structure of each individual in the population.

dims

A vector with the dimensions of the 3-D array G.

bvs

A matrix with the breeding values, indexed by loci and alleles

add_loci

A vector with the position of additive loci participating in the computation of phenotypes.

sex_ratio

A numerical value defining the sex ratio of populations

e_v

A numerical value defining the environmental variance in the computation of phenotypes.


eriqande/gids documentation built on Jan. 5, 2024, 12:31 a.m.