View source: R/Population_getters.R
getQTL | R Documentation |
Retrieve the QTLs being used for this population.
getQTL(pop)
pop |
An object of class |
getQTL
retrieves the IDs and indices of the SNPs being used
as QTLs for a given Population
object.
A data.frame
containing the IDs and indices of all
QTLs is returned.
Dion Detterer, Paul Kwan, Cedric Gondro
Population
# Create population pop <- Population( popSize = 200, map = map100snp, QTL = 20, alleleFrequencies = runif(100), broadH2 = 0.9, narrowh2 = 0.6, traitVar = 40 ) # Get the SNP IDs of the QTLs getQTL(pop)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.