selSegtypeInfo: Restrict a list of segregation types to specified inheritance...

Description Usage Arguments Value

View source: R/aiding_functions.R

Description

From a list of segregation types as produced by calcSegtypeInfo, this function selects only those segtypes that occur with polysomic, disomic and/or mixed inheritance if the corresponding parameters are set to TRUE, and from those segtypes only the parental dosages with the same restrictions are retained.

Usage

1
selSegtypeInfo(segtypeInfo, polysomic, disomic, mixed)

Arguments

segtypeInfo

a list as returned by calcSegtypeInfo

polysomic

If TRUE all segtypes with poly TRUE are retained, and from those segtypes all parental dosage combinations with parmode[,1] TRUE

disomic

If TRUE all segtypes with di TRUE are retained, and from those segtypes all parental dosage combinations with parmode[,2] TRUE

mixed

If TRUE all segtypes with mixed TRUE are retained, and from those segtypes all parental dosage combinations with parmode[,3] TRUE

Value

A list like segtypeInfo, modified as specified by parameters polysomic, disomic and mixed


mdavy86/polymapR documentation built on May 25, 2019, 9:35 p.m.