| calcQpc | R Documentation |
This function calculates Qpc given data about the relatedness matrix, and a set of trait values
calcQpc(myZ, myU, myLambdas, myL, myM)
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 |
calcQpc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.