View source: R/cnrma-functions.R
genotypes | R Documentation |
The possible genotypes for an integer copy number (0-4).
genotypes(copyNumber, is.snp=TRUE)
copyNumber |
Integer (0-4 allowed). |
is.snp |
Logical. If TRUE, possible genotypes for a polymorphic SNP is returned. If FALSE, only monomorphic genotypes returned. |
Character vector.
R. Scharpf
for(i in 0:4) print(genotypes(i))
for(i in 0:4) print(genotypes(i, FALSE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.