getQTL {epinetr} | R Documentation |
QTL retrieval.
Description
Retrieve the QTLs being used for this population.
Usage
getQTL(pop)
Arguments
pop |
An object of class |
Details
getQTL
retrieves the IDs and indices of the SNPs being used
as QTLs for a given Population
object.
Value
A data.frame
containing the IDs and indices of all
QTLs is returned.
Author(s)
Dion Detterer, Paul Kwan, Cedric Gondro
See Also
Examples
# 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)
[Package epinetr version 0.96 Index]