getQTL: QTL retrieval.

View source: R/Population_getters.R

getQTLR Documentation

QTL retrieval.

Description

Retrieve the QTLs being used for this population.

Usage

getQTL(pop)

Arguments

pop

An object of class 'Population'.

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

Population

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)

epinetr documentation built on March 18, 2022, 7:01 p.m.