Pull SNP genotype
Retrieves SNP genotype data
pullSnpGeno(pop, snpChip = 1, chr = NULL, simParam = NULL)
Returns a matrix of SNP genotypes.
#Create founder haplotypes founderPop = quickHaplo(nInd=10, nChr=1, segSites=15) #Set simulation parameters SP = SimParam$new(founderPop) SP$addTraitA(10) SP$addSnpChip(5) #Create population pop = newPop(founderPop, simParam=SP) pullSnpGeno(pop, simParam=SP)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.