View source: R/genoCombinations.R
| genoCombinations | R Documentation | 
Returns the possible genotype combinations in a pedigree, given partial marker data. This function is mainly for internal use.
genoCombinations(x, partialmarker = x$MARKERS[[1]], ids, make.grid = TRUE)
| x | a  | 
| partialmarker | a  | 
| ids | a vector with ID labels of one or more pedigree members. | 
| make.grid | a logical indicating if the result should be simplified to a matrix. | 
If make.grid = FALSE (the default) the function returns a list of
integer vectors, one vector for each element of ids. Each integer
represents a genotype, in the form of a row number of the matrix
allGenotypes(n), where n is the number of alleles of the marker.
If make.grid = TRUE, the Cartesian product of the vectors is taken,
resulting in a matrix with one column for each element of ids.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.