Geno {VIGoR}R Documentation

An example of marker genotype objects

Description

An example of a marker genotype object consisting of 1000 markers and 100 samples. The genotypes are coded as 0 (AA), 1 (AB), and 2 (BB). The genotypes were randomly generated as described in the details.

Details

Geno was generated by

N<-100
P<-1000
Geno<-matrix(sample(c(0,1,2),N*P,replace=T,
prob=c(0.49,0.42,0.09)),nc=P)
#MAF is 0.3

See Also

hyperpara

Examples

data(sampledata)
dim(Geno)#100 samples and 1000 markers
unique(Geno[1:(100*1000)])#0,1,2

[Package VIGoR version 1.0 Index]