Description Usage Arguments Value
View source: R/decodeGenotypes.R
Decode genotype integers to genotype strings.
1 2 3 4 5 6 7 8 9 10 11 | decodeGenotypes(x, genotypes, missing.value = NA_character_)
## S3 method for class 'data.frame'
decodeGenotypes(x, genotypes,
missing.value = NA_character_)
## S3 method for class 'integer'
decodeGenotypes(x, genotypes, missing.value = NA_character_)
## S3 method for class 'matrix'
decodeGenotypes(x, genotypes, missing.value = NA_character_)
|
x |
Object containing genotype integers. |
genotypes |
Sorted character vector of genotype symbols. Input genotype integers should be valid indices of this vector. |
missing.value |
If set to a missing value symbol ( |
Object of same class and dimensions as input object, but with genotype integers decoded to genotype strings.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.