Learn R Programming

AlphaSimR (version 2.0.0)

findQtlIndex: Find trait QTL index

Description

Compares to a LociMap-class objects to determine if the first one is a superset of the second. If it is, the function returns NULL. If it is not, the function return a LociMap-class object that is a superset of both a LociMap-class objects.

Usage

findQtlIndex(activeQtl, traitQtl)

Value

an integer vector for relative positions of traitQtl on activeQtl

Arguments

activeQtl

a LociMap-class representing all active QTL

traitQtl

a LociMap-class representing QTL for a trait of interest