calcPotShifts: Calculate potential shifts in marker dosages

Description Usage Arguments Value

View source: R/aiding_functions.R

Description

Internal function for correctDosages function

Usage

1
calcPotShifts(segtypes, ploidy)

Arguments

segtypes

Vector of segregation types

ploidy

The ploidy of the species

Value

Data.frame with columns:

segtype

The segtype code before the underscore i.e. without the first dosage class

mindos

The first dosage class

shift

-1, 0 or 1: potental shifts to try out for each segtype whether a shift of +/- 1 should be tried or not (0) (only when number of dosages in segtype in <= ploidy-2 and min.dosage==1 or max.dosage==ploidy-1)


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