genIndex | R Documentation |
This function will return all unique genotypes for a given locus (ignoring allele
order, but taking copy number into account) and return those genotypes as well
as an index indicating which genotype(s) each individual has. This is a generic function
with methods for "genambig"
objects and for arrays. The array
method is primarily intended for internal use with meandistance.matrix2
,
processing the output of genotypeProbs
.
genIndex(object, locus)
object |
Typically, a |
locus |
A character string or integer indicating which locus to process. |
A list with two elements:
uniquegen |
A list, where each element in the list is a vector indicating a unique genotype that was found. |
genindex |
For |
Lindsay V. Clark
meandistance.matrix
uses the "genambig"
method internally.
.unal1loc
, assignClones
data(simgen) genIndex(simgen, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.