View source: R/Population_getters.R
getGeno | R Documentation |
Retrieves the current unphased genotypes in the population.
getGeno(pop)
pop |
a valid |
getGeno
retrieves the current unphased genotypes in the population,
returning a single matrix with one individual per row and one SNP per
column.
Returns an unphased genotypes matrix.
Dion Detterer, Paul Kwan, Cedric Gondro
Population
, getPhased
, getHaplo
# Construct a population pop <- Population( popSize = 200, map = map100snp, QTL = 20, alleleFrequencies = runif(100), broadH2 = 0.9, narrowh2 = 0.6, traitVar = 40 ) # Retrieve genotypes geno <- getGeno(pop)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.