genotypes {crlmm} | R Documentation

## The possible genotypes for an integer copy number.

### Description

The possible genotypes for an integer copy number (0-4).

### Usage

    genotypes(copyNumber, is.snp=TRUE)

### Arguments

`copyNumber` | Integer (0-4 allowed).
`is.snp` | Logical. If TRUE, possible genotypes for a polymorphic SNP is returned. If FALSE, only monomorphic genotypes returned.

### Value

Character vector.

### Author(s)

R. Scharpf

### Examples

    for(i in 0:4) print(genotypes(i))
    for(i in 0:4) print(genotypes(i, FALSE))

[Package crlmm version 1.38.0 Index]