fixedNumberOfFounderAlleles: Convert fully informative experiment to one with a fixed...

Description Usage Arguments Details Value Examples

View source: R/fixedNumberOfFounderAlleles.R

Description

Convert a fully informative experiment to one with a fixed number of alleles per marker

Usage

1

Arguments

alleles

Number of alleles for each marker

Details

By default, simulated data is fully informative, so every founder carries its own allele, and all heterozygotes are distinguishable.

This function takes in a fully informative experiment, and changes every marker so that it has a fixed number of founder alleles. Heterozygotes are also changed, so every combination of different alleles is still distinguishable.

Value

An object of internal class fixedNumberOfFounderAlleles suitable for application to an object of class mpcross using the addition operation.

Examples

1
2
3
4

mpMap2 documentation built on Sept. 13, 2020, 5:17 p.m.