gpmCom: Community genotype-phenotype mapping function.

Description Usage Arguments Details Author(s) Examples

View source: R/gpmCom.R

Description

Creates a set of phenotypes based on genotypic values for a community of organisms (e.g. insects) based on the methods of Shuster et al. 2006. This is a support function for the cgSim function.

Usage

1
gpmCom(n = "number of species", het.values = c(5, 21), allelic.range = c(0, 3))

Arguments

n

Number of species.

het.values

Range of heterozygote values.

allelic.range

Range of allelic values.

Details

This function provides a simple way to populate a set of phenotypic values for a model community to be used in a simulation of community genetics effects.

Author(s)

Matthew K. Lau

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

ECGen/ComGenR documentation built on July 23, 2021, 11:44 p.m.