calcQpc: Calculate Qpc

View source: R/calcQpc.R

calcQpcR Documentation

Calculate Qpc

Description

This function calculates Qpc given data about the relatedness matrix, and a set of trait values

Usage

calcQpc(myZ, myU, myLambdas, myL, myM)

Arguments

myZ

vector of traits. Not normalized yet.

myU

matrix of eigenvectors of the kinship matrix (each column is an eigenvector)

myLambdas

vector of eigenvalues of the kinship matrix

myL

the range of PCs used to estimate Va

myM

the range of PCs you want to test for selection

Examples

calcQpc()

emjosephs/quaint documentation built on June 10, 2025, 2:03 a.m.