Learn R Programming

beadarrayMSV (version 1.0.3)

generatePolyCenters: Generate list of possible genotype categories

Description

Generates a list of all possible genotype categories for a specific ploidy, including the theoretic allele ratios

Usage

generatePolyCenters(ploidy)

Arguments

ploidy
One of di, tetra, or tetra.red. The first allows only monomorphics and SNPs, the second allows PSVs and MSVs as well. The option tetra.red is the same as tetra, e

Value

  • List including
  • centersList of possible B allele ratios for each cluster category
  • classificationList of possible cluster categories
  • sizeNumeric vector with the maximum number of clusters within each category

Details

Usually called by other functions

See Also

callGenotypes, getCenters, testHardyWeinberg, plotGenotypes

Examples

Run this code
#For genotype calling of tetraploid genomes
polyCent <- generatePolyCenters(ploidy='tetra')
print(polyCent$classification)

Run the code above in your browser using DataLab