Learn R Programming

crlmm (version 1.30.0)

genotypes: 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.

Examples

Run this code

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

Run the code above in your browser using DataLab