genotypes: The possible genotypes for an integer copy number.

Description Usage Arguments Value Author(s) Examples

View source: R/cnrma-functions.R

Description

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

Usage

1
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

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

crlmm documentation built on Nov. 8, 2020, 4:55 p.m.